-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS-8131 Recalculate fiat #3976
Conversation
@@ -39,8 +39,7 @@ extension CommonExpressModulesFactory: ExpressModulesFactory { | |||
let model = ExpressViewModel( | |||
initialWallet: initialWalletModel, | |||
userWalletModel: userWalletModel, | |||
feeFormatter: feeFormatter, | |||
balanceConverter: balanceConverter, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не юзалось
guard roundedAmount != amount else { return } | ||
guard roundedAmount != amount else { | ||
// update only fiat in case of another walletModel selection with another quote | ||
updateSendFiatValue(amount: amount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вот тут не хватало апдейта
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не знаком с этим кодом совсем, но это не приведет к лишним апдейтам, которые потом триггернут поход в сеть, etc?
guard roundedAmount != amount else { return } | ||
guard roundedAmount != amount else { | ||
// update only fiat in case of another walletModel selection with another quote | ||
updateSendFiatValue(amount: amount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не знаком с этим кодом совсем, но это не приведет к лишним апдейтам, которые потом триггернут поход в сеть, etc?
https://tangem.atlassian.net/browse/IOS-8131