diff options
Diffstat (limited to 'examples/system_information/src/main.rs')
-rw-r--r-- | examples/system_information/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/system_information/src/main.rs b/examples/system_information/src/main.rs index 704f5f4d..560220b8 100644 --- a/examples/system_information/src/main.rs +++ b/examples/system_information/src/main.rs @@ -42,6 +42,8 @@ impl Application for Example { fn update(&mut self, message: Message) -> Command<Message> { match message { Message::Refresh => { + *self = Self::Loading; + return system::fetch_information(Message::InformationReceived); } Message::InformationReceived(information) => { |