From 007883c547d5f64f4270fc4c7a55a72b9792b060 Mon Sep 17 00:00:00 2001 From: nilsreichardt Date: Sun, 24 Sep 2023 12:42:37 +0200 Subject: [PATCH] Fix "Null check operator used on a null value" on login page --- app/lib/auth/login_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/auth/login_page.dart b/app/lib/auth/login_page.dart index 357d2fee0..2ce94bf6c 100644 --- a/app/lib/auth/login_page.dart +++ b/app/lib/auth/login_page.dart @@ -186,8 +186,8 @@ class _LoginPageState extends State { try { await bloc.submit(); } on Exception catch (e, s) { - setState(() => isLoading = false); if (context.mounted) { + setState(() => isLoading = false); showSnackSec( text: handleErrorMessage(e.toString(), s), context: context,