- New package legacy_device_state hosts shared device/position state consumed by both control_panel and location screens. ControlPanel* classes renamed to LegacyDevice* in 8 moved files. - Move PositionEntity + AddressEntity + NetworkEntity + LatestPositionsResponseModel + BatteryUtils + DateFormatUtils from control_panel to legacy_shared (shared domain entities). - Remove anti-pattern re-export of sf_infrastructure/dio_error_mapper from legacy_shared barrel. Update consumers to import sf_infrastructure directly. - Clean 14 unused legacy_shared imports across view models in account, device_management, legacy_auth and settings modules. Eliminates cross-module dependency location -> control_panel. 0 errors, 0 warnings in flutter analyze across 11 packages/modules.
3.1 KiB
3.1 KiB