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,7 +78,11 @@ class _PlayerSelectionState extends State<PlayerSelection> {
suggestedPlayers = [...loadedPlayers]; suggestedPlayers = [...loadedPlayers];
} }
}); });
isLoading = false; if (mounted) {
setState(() {
isLoading = false;
});
}
}); });
} }