Skip to content

Commit

Permalink
[Presentation] Use the full screen dialog on the daily check-in and w…
Browse files Browse the repository at this point in the history
…ish simulator pages
  • Loading branch information
Wolfteam committed Dec 18, 2022
1 parent 906dad5 commit 695c13e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/presentation/home/widgets/daily_check_in_card.dart
Expand Up @@ -28,7 +28,7 @@ class DailyCheckInCard extends StatelessWidget {
}

Future<void> _goToPageDailyCheckInPage(BuildContext context) async {
final route = MaterialPageRoute(builder: (c) => DailyCheckInPage());
final route = MaterialPageRoute(fullscreenDialog: true, builder: (c) => DailyCheckInPage());
await Navigator.push(context, route);
await route.completed;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/presentation/home/widgets/wish_simulator_card.dart
Expand Up @@ -29,7 +29,7 @@ class WishSimulatorCard extends StatelessWidget {
}

Future<void> _gotoWishSimulatorPage(BuildContext context) async {
final route = MaterialPageRoute(builder: (c) => WishSimulatorPage());
final route = MaterialPageRoute(fullscreenDialog: true, builder: (c) => WishSimulatorPage());
await Navigator.push(context, route);
await route.completed;
}
Expand Down

0 comments on commit 695c13e

Please sign in to comment.