Skip to content

Commit

Permalink
Merge pull request #1410 from ardriveapp/PE-4738-unable-to-continue-d…
Browse files Browse the repository at this point in the history
…rive-creation-after-creating-the-first-drive-as-a-new-user

PE-4738: fix: Unable to continue drive creation after creating the first drive as a new user
  • Loading branch information
thiagocarvalhodev authored Oct 5, 2023
2 parents 8afe6d3 + b8ab840 commit 58b210b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/utils/show_general_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ Future<void> showArDriveDialog(
required Widget content,
Color? barrierColor,
}) async {
context.read<ActivityTracker>().setShowingAnyDialog(true);
final activityTracker = context.read<ActivityTracker>();
activityTracker.setShowingAnyDialog(true);
return showAnimatedDialog(
context,
content: content,
barrierColor: barrierColor,
barrierDismissible: barrierDismissible,
).then((value) => context.read<ActivityTracker>().setShowingAnyDialog(false));
).then((value) => activityTracker.setShowingAnyDialog(false));
}

0 comments on commit 58b210b

Please sign in to comment.