From 2a4ef0e5510444f41323154f4a50424018502cc5 Mon Sep 17 00:00:00 2001 From: Andrei Solovev Date: Wed, 20 Mar 2024 12:41:51 +0700 Subject: [PATCH] Fix FPX email text color --- .../Other Payments/FPX/FPXPaymentFormController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/OmiseSDK/Sources/Views/Screens/Choose Payment Methods/Other Payments/FPX/FPXPaymentFormController.swift b/OmiseSDK/Sources/Views/Screens/Choose Payment Methods/Other Payments/FPX/FPXPaymentFormController.swift index cf052514..7f69d5da 100644 --- a/OmiseSDK/Sources/Views/Screens/Choose Payment Methods/Other Payments/FPX/FPXPaymentFormController.swift +++ b/OmiseSDK/Sources/Views/Screens/Choose Payment Methods/Other Payments/FPX/FPXPaymentFormController.swift @@ -94,6 +94,7 @@ class FPXPaymentFormController: UIViewController, PaymentFormUIController { object: nil ) + emailTextField.textColor = UIColor.omisePrimary emailTextField.validator = try? NSRegularExpression(pattern: "\\A[\\w.+-]+@[a-z\\d.-]+\\.[a-z]{2,}\\z", options: [.caseInsensitive]) // check for 1st time