Skip to content

Commit

Permalink
Fix 'never' sync not being detected in some timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Dec 30, 2023
1 parent 94c26a7 commit 81298aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def update_labels():
else:
self.websocket_connected_status_icon.set_icon("dialog-error", "error")
self.last_sync_row.set_subtitle(str(status["lastSynced"]))
if status["lastSynced"].startswith("1970"):
if status["lastSynced"].startswith("1970") or status["lastSynced"].startswith("1969"):
self.last_sync_row.set_subtitle("Never")
self.unlock_button.set_label("Unlock" if locked else "Lock")
else:
Expand Down

0 comments on commit 81298aa

Please sign in to comment.