|
|
@ -20,6 +20,12 @@ class SendMoneyExchangeRateViewController: UIViewController { |
|
|
|
case _continue |
|
|
|
} |
|
|
|
|
|
|
|
struct StringConstants { |
|
|
|
static let youSendText = "You Send" |
|
|
|
static let reciepientGetsText = "Recepient Gets" |
|
|
|
static let calculateText = "Calculate" |
|
|
|
} |
|
|
|
|
|
|
|
// MARK: IBOutlets |
|
|
|
|
|
|
|
@IBOutlet weak var exchangeBackground1: UIView! |
|
|
@ -40,6 +46,8 @@ class SendMoneyExchangeRateViewController: UIViewController { |
|
|
|
@IBOutlet weak var exchangeRateLabel: UILabel! |
|
|
|
@IBOutlet weak var exchangeInfoStackView: UIStackView! |
|
|
|
|
|
|
|
@IBOutlet weak var youSendTitleLabel: UILabel! |
|
|
|
@IBOutlet weak var recipientGetsTitleLabel: UILabel! |
|
|
|
|
|
|
|
var countryListTapGuesture: UITapGestureRecognizer? |
|
|
|
|
|
|
@ -197,6 +205,13 @@ class SendMoneyExchangeRateViewController: UIViewController { |
|
|
|
$0?.layer.borderColor = UIColor.init(hex: "#E0E0E0").cgColor |
|
|
|
$0?.layer.cornerRadius = 5 |
|
|
|
}) |
|
|
|
configureLanguage() |
|
|
|
} |
|
|
|
|
|
|
|
private func configureLanguage() { |
|
|
|
self.youSendTitleLabel.text = StringConstants.youSendText |
|
|
|
self.recipientGetsTitleLabel.text = StringConstants.reciepientGetsText |
|
|
|
self.continueButton.setTitle(StringConstants.calculateText, for: .normal) |
|
|
|
} |
|
|
|
|
|
|
|
private func setCountryFlag(countryCode: String) { |
|
|
|