From f9722bc7628910c06ac5c7ded67100aa26d03541 Mon Sep 17 00:00:00 2001 From: mathiskirchner Date: Wed, 24 Dec 2025 13:01:05 +0100 Subject: [PATCH] wrap `isLoading = false` in a `mounted` check and `setState` call --- .../views/main_menu/group_view/groups_view.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/presentation/views/main_menu/group_view/groups_view.dart b/lib/presentation/views/main_menu/group_view/groups_view.dart index 5d303d5..b2243bc 100644 --- a/lib/presentation/views/main_menu/group_view/groups_view.dart +++ b/lib/presentation/views/main_menu/group_view/groups_view.dart @@ -105,7 +105,11 @@ class _GroupsViewState extends State { groups = loadedGroups ..sort((a, b) => b.createdAt.compareTo(a.createdAt)); }); - isLoading = false; + if (mounted) { + setState(() { + isLoading = false; + }); + } }); } }