Browse Source

state management corrected

pull/1/head
gme_2 6 years ago
parent
commit
a711eafcd0
  1. 2
      GMERemittance/Module/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift

2
GMERemittance/Module/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift

@ -180,11 +180,13 @@ class SendMoneyParentViewController: UIViewController {
self.paymentModeButton.backgroundColor = Constants.stateGreenColor self.paymentModeButton.backgroundColor = Constants.stateGreenColor
self.exchangeRateButton.backgroundColor = Constants.stateGreenColor self.exchangeRateButton.backgroundColor = Constants.stateGreenColor
self.verificationButton.backgroundColor = Constants.stateRedColor self.verificationButton.backgroundColor = Constants.stateRedColor
self.exchangeRateButton.isUserInteractionEnabled = true
self.verificationButton.isUserInteractionEnabled = false self.verificationButton.isUserInteractionEnabled = false
case .verification: case .verification:
self.paymentModeButton.backgroundColor = Constants.stateGreenColor self.paymentModeButton.backgroundColor = Constants.stateGreenColor
self.exchangeRateButton.backgroundColor = Constants.stateGreenColor self.exchangeRateButton.backgroundColor = Constants.stateGreenColor
self.verificationButton.backgroundColor = Constants.stateGreenColor self.verificationButton.backgroundColor = Constants.stateGreenColor
self.exchangeRateButton.isUserInteractionEnabled = true
} }
} }

Loading…
Cancel
Save