mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 01:34:57 +01:00
- ConnectionCard: "No connection" shows "Not connected" instead of the bridge connect instruction; switching modes keeps the bridge accordion mounted with inline progress (drops the "Connecting in ... mode" placeholder card). - proxy_device_details: stable keys on ConnectionCard / LiveMetricsSection / MiniWorkoutCard. On (dis)connect, conditional siblings toggle both above (FTMS warning) and below (gear/settings/VS-notice) these widgets, trapping the unkeyed ones in Flutter's reconciliation middle and remounting them — which collapsed the accordion and rebuilt the page. - ProxyDevice: re-establish the emulator-state bindings on every (re)connect (_rebindEmulatorState in startProxy). The in-place "No connection" disconnect detaches them on a reused ProxyDevice, so reconnecting Virtual Shifting left the UI stuck on "connecting" while the emulator was actually connected. - ProxyDevice.disconnect/switchRetrofitMode/handleServices: await the emulator stops so mDNS/TCP is torn down before reporting disconnected, and log the previously swallowed detach errors. - connection.dart: log the discovered device name instead of its runtime type. - Bump prop for the awaited mDNS teardown. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>