diff --git a/lib/features/mobile/mobile_shell_core.dart b/lib/features/mobile/mobile_shell_core.dart index b0af4fee..89274c1e 100644 --- a/lib/features/mobile/mobile_shell_core.dart +++ b/lib/features/mobile/mobile_shell_core.dart @@ -256,6 +256,9 @@ class MobileShellStateInternal extends State { ?.trim() .isNotEmpty ?? false; + if (!mounted) { + return; + } if (!accountSignedIn) { await openGatewaySetupCodeEntryInternal(); messenger?.showSnackBar(