Refine iOS navigation, media controls, and background sync

This commit is contained in:
Ayushya Amitabh
2026-10-07 23:14:07 -04:00
parent 2e5fc4723a
commit 51636813af
39 changed files with 2309 additions and 647 deletions
@@ -144,7 +144,7 @@ final class SyncStatusBus {
/// edits with the server's copies).
/// - Paths the server sends are checked to stay inside the mirror, and two
/// remote files that would land on the same local file are both skipped.
/// - A file deleted on the server but edited here is kept, not deleted.
/// - Server deletions remove the local copy, including local edits, like Android.
/// - A root's etag is only remembered once its whole path synced cleanly, and
/// only if the state it relies on was actually saved.
struct SyncRunner {
@@ -301,11 +301,6 @@ struct SyncRunner {
}
state[fileId] = nil
case .orphan(_, let fileId):
// Deleted on the server but edited here: the edit stays on the
// device, no longer tracked.
state[fileId] = nil
case .conflict(let entry, let rel):
summary.conflicts.append(
SyncConflict(