-
Notifications
You must be signed in to change notification settings - Fork 19
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
PE-4694: Credit update issue during snapshot creation purchase #1394
Conversation
Visit the preview URL for this PR (updated for commit dfb546d): https://ardrive-web--pr1394-pe-4694-cqtdrw9m.web.app (expires Tue, 10 Oct 2023 17:14:04 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a224ebaee2f0939e7665e7630e7d3d6cd7d0f8b0 |
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.
LGTM
…rect turbo balance PE-4694
…ake amount of turbo balance, and dry run for the topup PE-4694
…up success PE-4694
_configFetcher.saveConfigOnDevToolsPrefs(config); | ||
_config = config; | ||
void updateAppConfig(AppConfig newConfig) { | ||
// logger.d('App config updated: ${config.diff(newConfig)}'); |
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.
Commented code
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.
This line of code breaks a unit test, but it's also useful for when adding new options. Should I simply remove it?
if (turbo.paymentStatus == PaymentStatus.success) { | ||
logger.d('Turbo payment success'); | ||
|
||
onSuccess?.call(); | ||
} | ||
|
||
turbo.dispose(); | ||
}).whenComplete(() { |
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.
Nice catch
Co-authored-by: Thiago Carvalho <[email protected]>
--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/0bgop1j6s3fq8