commit dd7b453e6deb849b1262030d2803abc00abb702c
parent 96732b8d4ffc426bfe7d7265be2e7dde290c915e
Author: Sylvia Ivory <git@sivory.net>
Date: Thu, 19 Jun 2025 17:20:17 -0700
Disabling weather location will reset forecast
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main.rs b/src/main.rs
@@ -210,6 +210,9 @@ impl Fjordgard {
})
.map(|r| Message::ForecastUpdate(r.map_err(|e| e.to_string())))
} else {
+ self.forecast_text = String::from("Weather unknown");
+ self.forecast_icon = String::from("icons/weather/100-0.svg");
+
Task::none()
}
}