getAllGames returnt nicht alle Attribute von der game Klasse #45
@@ -25,7 +25,7 @@ class PlayerGroupDao extends DatabaseAccessor<AppDatabase>
|
||||
return false;
|
||||
}
|
||||
|
||||
if (await db.playerDao.playerExists(playerId: player.id) == false) {
|
||||
if (!await db.playerDao.playerExists(playerId: player.id)) {
|
||||
|
flixcoo marked this conversation as resolved
Outdated
|
||||
db.playerDao.addPlayer(player: player);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user
warum == false und nicht if(!(....))