fix(android): sync when the app is opened, and don't say "Synced" before it has #28
Loading…
Reference in a new issue
No description provided.
Delete branch "test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nothing but signing in, an edit, or the sync button ever started a sync, so a
device used only for reading never pulled: a phone showed the journal as of
Aug 20 for weeks. The badges read the status's initial default as "Synced", so
nothing looked wrong.
The app now syncs on coming to the foreground and every 30s while it stays
there, as the web client does; leaving stops the timer but lets a pass under
way finish. "Synced" now needs a pass that completed cleanly
(SyncStatus.lastSyncedAt); before that the badge says "Not synced yet", and
Settings shows the last sync time. The home and memories badges also ignored
errors — all three now share one label.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_0115sCfybHRKTzjnmUCXA93K