Route device info sync to AutoSyncPage for new firmware#6064
Conversation
Greptile SummaryThis PR fixes a routing bug in the device info screen where the SD Card Sync button was unconditionally opening the legacy Confidence Score: 5/5Safe to merge — one-line logic change that mirrors existing patterns already in production elsewhere in the codebase. The change is small, targeted, and exactly matches the routing logic already used in No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User taps SD Card Sync] --> B{provider.supportsMultiFileSync?}
B -- "true\n(firmware >= 3.0.17)" --> C[Navigate to AutoSyncPage\nmulti-file protocol]
B -- "false\n(older firmware)" --> D[Navigate to SyncPage\nlegacy protocol]
style C fill:#2d6a2d,color:#fff
style D fill:#5a3a1a,color:#fff
Reviews (1): Last reviewed commit: "Route device info SD card sync to AutoSy..." | Re-trigger Greptile |
…e#6064) ## Summary - Device info screen SD card sync button was always routing to the old `SyncPage`, even for devices with firmware >= 3.0.17 that support the new multi-file protocol - Now checks `DeviceProvider.supportsMultiFileSync` (firmware version based) to route to `AutoSyncPage` for new firmware ## Test plan - [ ] Connect device with firmware >= 3.0.17, tap SD Card Sync in device info → should open AutoSyncPage - [ ] Connect device with old firmware, tap SD Card Sync → should open old SyncPage 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
SyncPage, even for devices with firmware >= 3.0.17 that support the new multi-file protocolDeviceProvider.supportsMultiFileSync(firmware version based) to route toAutoSyncPagefor new firmwareTest plan
🤖 Generated with Claude Code