Files
swiftcontrol/lib/widgets
Jonas Bark 6e0861e556 Name the trainer app and show its transport in connection alerts
The "connected"/"disconnected" activity alerts fired when a trainer app
attaches to one of our emulators now name the app ("Connected to Zwift",
"Disconnected from Zwift") and tag the alert with the transport, so the
activity log shows a WiFi or Bluetooth icon depending on how the app is
connected instead of always Bluetooth.

- AlertNotification gains a connectionType field + a connection() factory
  that builds the localized, app-named message and tags the transport.
- All 6 emulator call sites (Zwift BLE, FTMS/Rouvy mDNS) route through it,
  passing their own type and core.settings.getTrainerApp()?.name.
- ConnectionMethodType.activityIcon maps network -> wifi, else -> bluetooth;
  overview threads connectionType through and uses it for the leading icon.
- Reuse existing connectedTo string; add disconnectedFrom (en/de/es/fr/it/pl).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 21:22:59 +02:00
..
2026-05-21 22:01:14 +02:00
2026-05-31 10:40:28 +02:00
2026-05-13 11:56:12 +02:00
2026-03-26 10:10:49 +01:00
2026-03-11 16:52:19 +01:00
2026-01-22 15:40:23 +01:00
2026-03-04 17:37:08 +01:00
2026-03-12 11:25:05 +01:00
2026-05-25 20:13:08 +02:00
2026-03-12 09:42:39 +01:00
2026-04-23 12:02:18 +02:00
2026-04-26 09:44:56 +02:00
2026-03-10 21:02:41 +01:00
2026-04-28 09:11:05 +02:00
2026-05-14 08:37:33 +02:00
UX
2026-06-07 08:32:14 +02:00