-
Notifications
You must be signed in to change notification settings - Fork 7
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
[WIP]Backup: use firestore #1396
Conversation
4ce6951
to
e7937a6
Compare
e7937a6
to
5288a3c
Compare
Dependency Review✅ No vulnerabilities or license issues found.Scanned Manifest Filespubspec.lockpubspec.yaml
|
unawaited(injector<MetricClientService>() | ||
.mixPanelClient | ||
.initIfDefaultAccount()); | ||
// unawaited(injector<MetricClientService>() |
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.
TODO: remove this commented lines.
@@ -350,15 +352,18 @@ class _ClaimActivationPageState extends State<ClaimActivationPage> { | |||
_processing = false; | |||
}); | |||
if (mounted) { | |||
Navigator.of(context).pushNamedAndRemoveUntil( | |||
await Navigator.of(context).pushNamedAndRemoveUntil( |
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.
TODO: fix remove await.
@@ -7,14 +7,20 @@ | |||
|
|||
// ignore_for_file: unawaited_futures, type_annotate_public_apis | |||
|
|||
// ignore_for_file: unawaited_futures |
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.
The diagnostic 'unawaited_futures' doesn't need to be ignored here because it's already being ignored
@@ -349,15 +351,18 @@ class _ClaimActivationPageState extends State<ClaimActivationPage> { | |||
_processing = false; | |||
}); | |||
if (mounted) { | |||
Navigator.of(context).pushNamedAndRemoveUntil( | |||
await Navigator.of(context).pushNamedAndRemoveUntil( |
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.
📝 [flutter-analyze] reported by reviewdog 🐶
Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check
if (!mounted) { | ||
return; | ||
} | ||
await Navigator.of(context).pushNamed(AppRouter.artworkDetailsPage, |
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.
📝 [flutter-analyze] reported by reviewdog 🐶
Don't use 'BuildContext's across async gaps, guarded by an unrelated 'mounted' check
Description
Describe your changes