mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
fix: last time played
This commit is contained in:
parent
519022525e
commit
cee6f373eb
@ -21,7 +21,7 @@ export const mergeWithRemoteGames = async () => {
|
|||||||
localGame.lastTimePlayed == null ||
|
localGame.lastTimePlayed == null ||
|
||||||
(game.lastTimePlayed &&
|
(game.lastTimePlayed &&
|
||||||
new Date(game.lastTimePlayed) > localGame.lastTimePlayed)
|
new Date(game.lastTimePlayed) > localGame.lastTimePlayed)
|
||||||
? new Date(game.lastTimePlayed)
|
? game.lastTimePlayed
|
||||||
: localGame.lastTimePlayed;
|
: localGame.lastTimePlayed;
|
||||||
|
|
||||||
const updatedPlayTime =
|
const updatedPlayTime =
|
||||||
|
Loading…
Reference in New Issue
Block a user