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:
@@ -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") }
|
||||
|
||||
Reference in New Issue
Block a user