fix: sorting problems
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 44s
Pull Request Pipeline / lint (pull_request) Successful in 51s

This commit is contained in:
2026-05-22 15:05:43 +02:00
parent 96037e6062
commit 47829a6955
4 changed files with 7 additions and 5 deletions

View File

@@ -406,7 +406,8 @@ class MatchDao extends DatabaseAccessor<AppDatabase> with _$MatchDaoMixin {
teamIds.map((teamId) => db.teamDao.getTeamById(teamId: teamId)),
);
return teams;
return teams
..sort((a, b) => a.name.toLowerCase().compareTo(b.name.toLowerCase()));
}
/* Update */