From 70593353e4e6039ce9c708b9b25b2e5a59d47708 Mon Sep 17 00:00:00 2001 From: gme_2 Date: Wed, 3 Oct 2018 20:23:57 +0900 Subject: [PATCH] default email provieded --- .../User Interface/View/kycForm1ViewController.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/GMERemittance/Module/New Group/kycForm1/User Interface/View/kycForm1ViewController.swift b/GMERemittance/Module/New Group/kycForm1/User Interface/View/kycForm1ViewController.swift index 6c96a317..49d561da 100644 --- a/GMERemittance/Module/New Group/kycForm1/User Interface/View/kycForm1ViewController.swift +++ b/GMERemittance/Module/New Group/kycForm1/User Interface/View/kycForm1ViewController.swift @@ -194,6 +194,14 @@ class KycForm1ViewController: UIViewController { setupErrorTextFields() setupDelegates() self.setupDatePicker() + self.setupEmail() + } + + private func setupEmail() { + if let email = UserDefaults.standard.string(forKey: UserKeys.email) { + self.emailTextField.text = email + self.emailTextField.isUserInteractionEnabled = false + } } private func setupDelegates() {