Move Wi-Fi sync option from Customization to Hardware section#6126
Conversation
Co-authored-by: Aarav Garg <aaravgarg@users.noreply.github.com>
Greptile SummaryThis PR moves the Wi-Fi sync informational row from the "Customization" section to the "Hardware Info" section in Key observations:
Confidence Score: 5/5Safe to merge — single-file UI reorganization with no logic changes or regressions. The change is a straightforward cut-and-paste relocation of a UI block with no modifications to logic, state management, or widget behaviour. All existing guards and l10n patterns are preserved correctly. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[DeviceSettings initState] --> B[_loadInitialDimRatio]
B --> C{connection available?}
C -- No --> D[nothing rendered]
C -- Yes --> E[getFeatures]
E --> F[isWifiSyncSupported]
F --> G[setState _isWifiSupported]
G --> H[_buildHardwareInfoSection]
H --> I[Hardware Revision row]
I --> J[Model Number row]
J --> K[Manufacturer row]
K --> L{_isWifiSupported?}
L -- Yes --> M[Divider + Wi-Fi Sync row]
L -- No --> N[section ends]
style M fill:#2d5a27,color:#fff
style N fill:#3a3a3a,color:#fff
Reviews (1): Last reviewed commit: "Move Wi-Fi sync from Customization to Ha..." | Re-trigger Greptile |
Moves the Wi-Fi sync setting from the Customization section to the Hardware section in device settings, where it logically belongs.