fmstl
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::error::Error;
|
||||
|
||||
use common::{BarModule, Endpoint, ModuleEffect, Service, WeatherKind, Wire};
|
||||
use common::{BarModule, Endpoint, ModuleEffect, Service, WeatherKind, WeatherMsg, Wire};
|
||||
use iced::{
|
||||
widget::{container, mouse_area, text},
|
||||
Element, Task,
|
||||
@@ -43,7 +43,7 @@ impl BarModule for WeatherModule {
|
||||
|
||||
/// Route keys this module subscribes to.
|
||||
fn services(&self) -> Vec<Service> {
|
||||
vec![]
|
||||
vec![WeatherMsg::State.key()]
|
||||
}
|
||||
|
||||
/// Optional: read `module.weather` from the config table.
|
||||
|
||||
Reference in New Issue
Block a user