Skip to content

Commit

Permalink
chore: add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Feb 10, 2025
1 parent d9ab1fe commit 1c668ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ internal class PowerSyncDatabaseImpl(
val lastSyncedAt = Instant.parse(formattedDateTime)
currentStatus.update(hasSynced = hasSynced, lastSyncedAt = lastSyncedAt)
}
} else {
currentStatus.update(hasSynced = false)
}
}

Expand Down

0 comments on commit 1c668ef

Please sign in to comment.