diff --git a/packages/smooth_app/lib/pages/user_management/sign_up_page.dart b/packages/smooth_app/lib/pages/user_management/sign_up_page.dart index 045c6650b4b..48f2713516f 100644 --- a/packages/smooth_app/lib/pages/user_management/sign_up_page.dart +++ b/packages/smooth_app/lib/pages/user_management/sign_up_page.dart @@ -416,6 +416,9 @@ class _SignUpPageState extends State with TraceableClientMixin { final UserPreferences userPreferences = await UserPreferences.getUserPreferences(); userPreferences.resetOnboarding(); + if (!mounted) { + return; + } await showDialog( context: context, builder: (BuildContext context) => SmoothAlertDialog(