|
|
@ -289,10 +289,10 @@ class HomeExchangeRateView: UIView { |
|
|
|
|
|
|
|
@objc func calculateExchangeRate() { |
|
|
|
let model = ExchangeRateRequestModel( |
|
|
|
senderAmount: (sendMoneyView.text ?? "").stringRemovingComma(), |
|
|
|
senderAmount: (sendMoneyView.text ?? sendMoneyView.updatedText ?? "").stringRemovingComma(), |
|
|
|
senderCurrency: "JPY", |
|
|
|
senderCountryID: "142", |
|
|
|
recipientAmount: (recivedMoneyView.text ?? "").stringRemovingComma(), |
|
|
|
recipientAmount: (recivedMoneyView.text ?? recivedMoneyView.updatedText ?? "").stringRemovingComma(), |
|
|
|
recipientCurrency: selectedExchangeRateModel?.currency ?? "", |
|
|
|
recipientCountryID: selectedExchangeRateModel?.countryId ?? "", |
|
|
|
recipientCountry: selectedExchangeRateModel?.country ?? "", |
|
|
|