Added constants class

This commit is contained in:
2026-01-07 13:02:09 +01:00
parent 8df9a27dc7
commit a78614851b
6 changed files with 11 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ class _PlayerSelectionState extends State<PlayerSelection> {
void loadPlayerList() {
_allPlayersFuture = Future.wait([
db.playerDao.getAllPlayers(),
Future.delayed(minimumSkeletonDuration),
Future.delayed(Constants.minimumSkeletonDuration),
]).then((results) => results[0] as List<Player>);
if (mounted) {
_allPlayersFuture.then((loadedPlayers) {