feat: dynamic display count shown in tile
Some checks failed
Pull Request Pipeline / lint (pull_request) Successful in 47s
Pull Request Pipeline / test (pull_request) Successful in 49s
Pull Request Pipeline / localizations (pull_request) Failing after 29s

This commit is contained in:
2026-05-25 13:06:11 +02:00
parent b9710ed851
commit fb2f6d3adc
3 changed files with 27 additions and 19 deletions

View File

@@ -8,9 +8,7 @@ import 'package:tallee/core/enums.dart';
import 'package:tallee/data/db/database.dart';
import 'package:tallee/data/models/game.dart';
import 'package:tallee/data/models/group.dart';
import 'package:tallee/data/models/match.dart';
import 'package:tallee/data/models/player.dart';
import 'package:tallee/data/models/score_entry.dart';
import 'package:tallee/data/models/statistic.dart';
void main() {
@@ -23,10 +21,10 @@ void main() {
late Group testGroup1;
late Group testGroup2;
late Game testGame;
late Match testMatch1;
/*late Match testMatch1;
late Match testMatch2;
late Match testMatchOnlyPlayers;
late Match testMatchOnlyGroup;
late Match testMatchOnlyGroup;*/
final fixedDate = DateTime(2025, 19, 11, 00, 11, 23);
final fakeClock = Clock(() => fixedDate);
@@ -62,7 +60,7 @@ void main() {
color: AppColor.blue,
icon: '',
);
testMatch1 = Match(
/*testMatch1 = Match(
name: 'First Test Match',
game: testGame,
group: testGroup1,
@@ -85,7 +83,7 @@ void main() {
game: testGame,
group: testGroup2,
players: testGroup2.members,
);
);*/
});
await database.playerDao.addPlayersAsList(
players: [