avoid hourglass when performing the 15 minute refresh
This commit is contained in:
parent
0e2a34c520
commit
1c4fc30f4b
1 changed files with 0 additions and 1 deletions
|
|
@ -231,7 +231,6 @@ impl cosmic::Application for AppModel {
|
||||||
Task::none()
|
Task::none()
|
||||||
}
|
}
|
||||||
Message::RefreshWeather => {
|
Message::RefreshWeather => {
|
||||||
self.is_loading = true;
|
|
||||||
Task::perform(fetch_weather(), |result| {
|
Task::perform(fetch_weather(), |result| {
|
||||||
cosmic::Action::App(Message::WeatherUpdate(result))
|
cosmic::Action::App(Message::WeatherUpdate(result))
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue