Both test buttons carry real station coords; map status surfaced

- Plain test notification now picks the nearest station selling the
  monitored fuel and carries its real name, price, distance and
  coordinates (was a static no-station notification)
- addAlertRequest reports whether the map snapshot attached or why it
  failed, appended to the Settings result line instead of silently
  delivering a notification without the embedded map
- Settings routes both test buttons through the live monitor
This commit is contained in:
FuelBoard Contributor
2026-08-12 10:06:48 +01:00
parent a964a45d49
commit 9032c4a551
3 changed files with 58 additions and 20 deletions
+1
View File
@@ -150,6 +150,7 @@ struct ContentView: View {
alertsRadiusKM: alertsRadius,
testAlertResult: monitor.lastTestResult,
onTestAlert: { monitor.sendTestNotification() },
onPlainTestAlert: { monitor.sendPlainTestNotification() },
onShowOnboarding: { showOnboarding = true }
)
.tabItem { Label("Settings", systemImage: "gearshape.fill") }