Merge branch 'rc/v2.0' into feature/improve-sign-out

This commit is contained in:
Chubby Granny Chaser
2024-06-21 01:57:31 +01:00
committed by GitHub
20 changed files with 13 additions and 337 deletions

View File

@@ -19,7 +19,8 @@ export const mergeWithRemoteGames = async () => {
if (localGame) {
const updatedLastTimePlayed =
localGame.lastTimePlayed == null ||
new Date(game.lastTimePlayed) > localGame.lastTimePlayed
(game.lastTimePlayed &&
new Date(game.lastTimePlayed) > localGame.lastTimePlayed)
? new Date(game.lastTimePlayed)
: localGame.lastTimePlayed;