fix linter issues
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 38s
Pull Request Pipeline / lint (pull_request) Successful in 44s

This commit is contained in:
2026-03-08 15:19:20 +01:00
parent 69d9397ab3
commit 69f9900f74
2 changed files with 4 additions and 2 deletions

View File

@@ -383,13 +383,11 @@ class _CreateMatchViewState extends State<CreateMatchView> {
// Loads all games from the database and updates the gamesList.
Future<void> loadGames() async {
print("LOADING GAMES TRIGGERED");
final result = await db.gameDao.getAllGames();
result.sort((a, b) => b.createdAt.compareTo(a.createdAt));
setState(() {
gamesList = result;
});
print(gamesList.map((g) => g.name).join(', '));
print("GAMES LOADED");
}
}