fix(imports): change imports

This commit is contained in:
doryan 2024-07-19 23:24:10 +04:00
parent 21ccba9ddb
commit 61f6777735
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
use crate::{gtk::prelude::*, model::model::*}; use crate::{gtk::prelude::*, model::models::*};
impl<F, C> EventHandler<F, C> impl<F, C> EventHandler<F, C>
where where
@ -26,4 +26,3 @@ where
.connect_clicked(move |button| (self.callback)(button)); .connect_clicked(move |button| (self.callback)(button));
} }
} }

View File

@ -1,4 +1,4 @@
use crate::{gtk::prelude::*, model::model::*, view::components::switch::SwitchExt}; use crate::{gtk::prelude::*, model::models::*, view::components::switch::SwitchExt};
pub trait SwEventHandler { pub trait SwEventHandler {
fn on_toggle(self) -> (); fn on_toggle(self) -> ();