wrap isLoading into mounted and setState
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m8s
Pull Request Pipeline / lint (pull_request) Successful in 2m9s

This commit is contained in:
2025-12-24 13:01:40 +01:00
parent 7eb25221d7
commit 1e730cebe6

View File

@@ -78,9 +78,13 @@ class _PlayerSelectionState extends State<PlayerSelection> {
suggestedPlayers = [...loadedPlayers];
}
});
if (mounted) {
setState(() {
isLoading = false;
});
}
});
}
@override
Widget build(BuildContext context) {