mirror of
https://github.com/home-assistant/iOS.git
synced 2026-06-24 10:49:41 -05:00
## Summary Replace the Eureka-based location settings screen with a SwiftUI `LocationSettingsView` + `LocationSettingsViewModel`. Includes permission status rows, background refresh, location history link, manual location update, update-source toggles, and per-zone read-only sections. Zone detail now uses an `MKMapView`-backed SwiftUI preview with the zone radius overlay. `PermissionStatusRow.swift` and `EurekaLocationRow.swift` are removed; permission/disabled-state logic moves into the view model. `SettingsItem.location` is routed directly to the SwiftUI view and the location setup (~270 lines) is trimmed from `SettingsDetailViewController`. ## Screenshots ## Link to pull request in Documentation repository Documentation: home-assistant/companion.home-assistant# ## Any other notes Part of a five-PR Eureka → SwiftUI migration tracked in `UIKitToSwiftUIMigration.md`. The `Eureka`, `ColorPickerRow`, and `ViewRow` pods stay until the remaining four slices land: actions (#4561), notification settings (#4562), notification categories (#4563), watch complications (#4564). Build-verified locally on iOS simulator. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>