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

PE-4694: Credit update issue during snapshot creation purchase #1394

Merged
merged 8 commits into from
Oct 4, 2023

Conversation

matibat
Copy link
Contributor

@matibat matibat commented Sep 28, 2023

@matibat matibat self-assigned this Sep 28, 2023
@github-actions
Copy link

github-actions bot commented Sep 28, 2023

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

Copy link
Collaborator

@thiagocarvalhodev thiagocarvalhodev left a comment

Choose a reason for hiding this comment

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

LGTM

_configFetcher.saveConfigOnDevToolsPrefs(config);
_config = config;
void updateAppConfig(AppConfig newConfig) {
// logger.d('App config updated: ${config.diff(newConfig)}');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Commented code

Copy link
Contributor Author

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

Choose a reason for hiding this comment

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

Nice catch

@matibat matibat merged commit faf9687 into PE-3173 Oct 4, 2023
6 checks passed
@matibat matibat deleted the PE-4694 branch October 4, 2023 14:35
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.

2 participants