Skip to content

Commit

Permalink
fix: 5345 (#5346)
Browse files Browse the repository at this point in the history
* fix: 5345

* fix: 5345
  • Loading branch information
monsieurtanuki committed Jun 8, 2024
1 parent 2e44edb commit 2dd4575
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/smooth_app/lib/pages/navigator/app_navigator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ class _SmoothGoRouter {
),
GoRoute(
path: _InternalAppRoutes.SIGNUP_PAGE,
builder:(_, __) => const SignUpPage(),
)
builder: (_, __) => const SignUpPage(),
)
],
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class _SignUpPageState extends State<SignUpPage> with TraceableClientMixin {

@override
String get actionName => 'Opened sign_up_page';

@override
Widget build(BuildContext context) {
final ThemeData theme = Theme.of(context);
Expand Down Expand Up @@ -413,8 +413,12 @@ class _SignUpPageState extends State<SignUpPage> with TraceableClientMixin {
if (!mounted) {
return;
}
final UserPreferences userPreferences = await UserPreferences.getUserPreferences();
final UserPreferences userPreferences =
await UserPreferences.getUserPreferences();
userPreferences.resetOnboarding();
if (!mounted) {
return;
}
await showDialog<void>(
context: context,
builder: (BuildContext context) => SmoothAlertDialog(
Expand Down

0 comments on commit 2dd4575

Please sign in to comment.