|
|
@ -88,6 +88,10 @@ class KycViewController: UIViewController { |
|
|
|
|
|
|
|
private func setup() { |
|
|
|
// all setup should be done here |
|
|
|
self.configureViews() |
|
|
|
self.state = StateButtons.form1 |
|
|
|
self.requestModel = SendMoneyRequestModel() |
|
|
|
self.setupPicturedNavBar() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
@ -101,6 +105,21 @@ class KycViewController: UIViewController { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
@IBAction func form1(_ sender: UIButton) { |
|
|
|
// self.addPaymentModeViewController() |
|
|
|
self.state = StateButtons.form1 |
|
|
|
} |
|
|
|
|
|
|
|
@IBAction func from2(_ sender: UIButton) { |
|
|
|
// self.addExchangeViewController() |
|
|
|
self.state = StateButtons.form2 |
|
|
|
} |
|
|
|
|
|
|
|
@IBAction func form3(_ sender: UIButton) { |
|
|
|
// self.addVerificationViewController() |
|
|
|
self.state = StateButtons.form3 |
|
|
|
} |
|
|
|
|
|
|
|
func updateState(state: StateButtons) { |
|
|
|
switch state { |
|
|
|
case .form1: |
|
|
|