Simplify the QueryInformation Action

This commit is contained in:
Richard 2022-04-27 16:18:27 -03:00
parent 6e167675d6
commit 5eefa5d4ea
7 changed files with 15 additions and 35 deletions

View file

@ -582,7 +582,7 @@ pub fn run_command<Message: 'static + std::fmt::Debug + Send, E: Executor>(
command::Action::System(action) => match action {
system::Action::QueryInformation(tag) => {
let information =
crate::system::get_information(graphics_info());
crate::system::information(graphics_info());
let message = tag(information);