diff --git a/lib/presentation/views/main_menu/home_view.dart b/lib/presentation/views/main_menu/home_view.dart index d6b9ee6..888acf8 100644 --- a/lib/presentation/views/main_menu/home_view.dart +++ b/lib/presentation/views/main_menu/home_view.dart @@ -53,14 +53,30 @@ class _HomeViewState extends State { name: 'Skeleton Group', description: 'This is a skeleton group description.', members: [ - Player(name: 'Skeleton Player 1', description: ''), - Player(name: 'Skeleton Player 2', description: ''), + Player( + name: + 'Skeleton Player 1' + '', + ), + Player( + name: + 'Skeleton Player 2' + '', + ), ], ), notes: 'These are skeleton notes.', players: [ - Player(name: 'Skeleton Player 1', description: ''), - Player(name: 'Skeleton Player 2', description: ''), + Player( + name: + 'Skeleton Player 1' + '', + ), + Player( + name: + 'Skeleton Player 2' + '', + ), ], ), ); @@ -231,7 +247,8 @@ class _HomeViewState extends State { /// Updates the winner information for a specific match in the recent matches list. Future updatedWinnerInRecentMatches(String matchId) async { final db = Provider.of(context, listen: false); - final winner = await db.scoreEntryDao.getWinner(matchId: matchId); + // TODO: fix + //final winner = await db.scoreEntryDao.getWinner(matchId: matchId); final matchIndex = recentMatches.indexWhere((match) => match.id == matchId); if (matchIndex != -1) { setState(() {