diff --git a/src/app/cosmic.rs b/src/app/cosmic.rs index 3cb302bdad0..b84acc6aa86 100644 --- a/src/app/cosmic.rs +++ b/src/app/cosmic.rs @@ -254,7 +254,9 @@ impl Cosmic { #[cfg(not(feature = "wayland"))] #[allow(clippy::unused_self)] pub fn close(&mut self) -> iced::Command> { - iced::Command::single(Action::Window(WindowAction::Close(self.app.main_window_id()))) + iced::Command::single(Action::Window(WindowAction::Close( + self.app.main_window_id(), + ))) } #[allow(clippy::too_many_lines)] @@ -321,7 +323,9 @@ impl Cosmic { keyboard_nav::Message::Escape => return self.app.on_escape(), keyboard_nav::Message::Search => return self.app.on_search(), - keyboard_nav::Message::Fullscreen => return command::toggle_maximize(Some(self.app.main_window_id())), + keyboard_nav::Message::Fullscreen => { + return command::toggle_maximize(Some(self.app.main_window_id())) + } }, Message::ContextDrawer(show) => {