Skip to content
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

Merged
merged 2 commits into from
Sep 30, 2024
Merged

IOS-8131 Recalculate fiat #3976

merged 2 commits into from
Sep 30, 2024

Conversation

tureck1y
Copy link
Collaborator

@@ -39,8 +39,7 @@ extension CommonExpressModulesFactory: ExpressModulesFactory {
let model = ExpressViewModel(
initialWallet: initialWalletModel,
userWalletModel: userWalletModel,
feeFormatter: feeFormatter,
balanceConverter: balanceConverter,
Copy link
Collaborator Author

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)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вот тут не хватало апдейта

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не знаком с этим кодом совсем, но это не приведет к лишним апдейтам, которые потом триггернут поход в сеть, etc?

@tureck1y tureck1y merged commit dc068ae into releases/5.16 Sep 30, 2024
3 checks passed
@tureck1y tureck1y deleted the IOS-8131_recalc_fiat branch September 30, 2024 13:53
guard roundedAmount != amount else { return }
guard roundedAmount != amount else {
// update only fiat in case of another walletModel selection with another quote
updateSendFiatValue(amount: amount)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не знаком с этим кодом совсем, но это не приведет к лишним апдейтам, которые потом триггернут поход в сеть, etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants