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

[ABW-3750] Fix infinite loading on fiat price after updating TX fee #1296

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

matiasbzurovski
Copy link
Contributor

@matiasbzurovski matiasbzurovski commented Aug 22, 2024

Jira ticket: ABW-3750

Description

This PR fixes an issue introduced in #1292, where the fiat value for the price would show an infinite loading spinner after updating such price.

Video

demo.txn.fee.usd.fix.mov

@@ -66,7 +66,7 @@ extension TransactionReviewNetworkFee {
.foregroundColor(.app.blue2)
}
}
.task {
.task(id: viewStore.id) {
viewStore.send(.task)
Copy link
Contributor

Choose a reason for hiding this comment

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

should we not call finish on the send btw?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so, since the view is able to show up while the task takes place (token price is fetched).

@GhenadieVP GhenadieVP merged commit d1522fb into main Sep 4, 2024
6 checks passed
@GhenadieVP GhenadieVP deleted the ABW-3750-adjust-fee branch September 4, 2024 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants