Skip to content

Commit f9f90cd

Browse files
committed
chore: change use crates into one set
1 parent 5e88001 commit f9f90cd

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

src/ui/appearance.rs

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
use std::process::Command;
2-
31
use crate::ui::window::AppMsg;
42
use crate::utils::parse_dconf;
5-
use relm4::adw::{AccentColor, prelude::*};
6-
use relm4::gtk;
7-
use relm4::prelude::*;
8-
9-
use gtk::gio::Settings;
3+
use relm4::{
4+
adw::{AccentColor, prelude::*},
5+
gtk::{self, gio::Settings},
6+
prelude::*,
7+
};
108

119
#[derive(Debug, Clone)]
1210
pub struct AppearanceSettings {
@@ -52,16 +50,6 @@ impl From<String> for AccentColorWrapped {
5250
}
5351
}
5452

55-
#[derive(Debug)]
56-
struct MyColorButton {
57-
value: AccentColorWrapped,
58-
}
59-
60-
#[derive(Debug)]
61-
enum MyColorButtonOutput {
62-
SendPick(AccentColorWrapped),
63-
}
64-
6553
#[derive(Debug, Clone, Copy, PartialEq)]
6654
pub enum AppearanceStyle {
6755
Default,

0 commit comments

Comments
 (0)