wrap isLoading = false in a mounted check and setState call

This commit is contained in:
2025-12-24 13:01:05 +01:00
parent f2917a6813
commit f9722bc762

View File

@@ -105,7 +105,11 @@ class _GroupsViewState extends State<GroupsView> {
groups = loadedGroups
..sort((a, b) => b.createdAt.compareTo(a.createdAt));
});
if (mounted) {
setState(() {
isLoading = false;
});
}
});
}
}