From 8643fbef90fc16371e27ae0142eb7e4c6b432d29 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 26 Apr 2022 19:35:43 -0300 Subject: Rename `system::information` to `fetch_information` --- examples/system_information/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/system_information/src/main.rs') diff --git a/examples/system_information/src/main.rs b/examples/system_information/src/main.rs index 79033e4c..1e61480f 100644 --- a/examples/system_information/src/main.rs +++ b/examples/system_information/src/main.rs @@ -32,7 +32,7 @@ impl Application for Example { fn new(_flags: ()) -> (Self, Command) { ( Self::Loading, - system::information(Message::InformationReceived), + system::fetch_information(Message::InformationReceived), ) } @@ -43,7 +43,7 @@ impl Application for Example { fn update(&mut self, message: Message) -> Command { match message { Message::Refresh => { - return system::information(Message::InformationReceived); + return system::fetch_information(Message::InformationReceived); } Message::InformationReceived(information) => { if let Some(information) = information { -- cgit