Skip to content

Commit 2bfbe30

Browse files
committed
chore: fix format
1 parent 3030b07 commit 2bfbe30

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/app.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ use relm4::{
33
adw, gtk, main_application, Component, ComponentParts, ComponentSender, SimpleComponent,
44
};
55

6-
use gtk::prelude::{
7-
ApplicationExt, GtkWindowExt, OrientableExt, SettingsExt, WidgetExt,
8-
};
6+
use gtk::prelude::{ApplicationExt, GtkWindowExt, OrientableExt, SettingsExt, WidgetExt};
97
use gtk::{gio, glib};
108

119
use crate::config::{APP_ID, PROFILE};
@@ -98,13 +96,13 @@ impl SimpleComponent for App {
9896
AboutDialog::builder().launch(()).detach();
9997
})
10098
};
101-
99+
102100
let quit_action = {
103101
RelmAction::<QuitAction>::new_stateless(move |_| {
104102
sender.input(AppMsg::Quit);
105103
})
106104
};
107-
105+
108106
// Connect action with hotkeys
109107
app.set_accelerators_for_action::<QuitAction>(&["<Control>q"]);
110108

src/modals/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pub mod about;
2-
pub mod shortcuts;
2+
pub mod shortcuts;

0 commit comments

Comments
 (0)