reduced mock data loading time

This commit is contained in:
2025-11-15 21:57:31 +01:00
parent d07bc6e8bb
commit 511124e323

View File

@@ -15,7 +15,7 @@ class GroupsView extends StatefulWidget {
class _GroupsViewState extends State<GroupsView> { class _GroupsViewState extends State<GroupsView> {
Future<List<Group>> _getMockGroups() async { Future<List<Group>> _getMockGroups() async {
await Future.delayed(const Duration(seconds: 4)); await Future.delayed(const Duration(seconds: 2));
final player1 = Player(id: 'p1', name: 'Felix'); final player1 = Player(id: 'p1', name: 'Felix');
final player2 = Player(id: 'p2', name: 'Yannick'); final player2 = Player(id: 'p2', name: 'Yannick');
final player3 = Player(id: 'p3', name: 'Mathis'); final player3 = Player(id: 'p3', name: 'Mathis');