chore: Code cleanup

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-19 02:37:11 +01:00
parent 192dacb333
commit cb3dd257f1
22 changed files with 121 additions and 106 deletions

View file

@ -1,9 +1,8 @@
use std::cell::RefCell;
use std::collections::HashMap;
use crate::components::base::listEntry::ListEntry;
use gtk::subclass::prelude::*;
use gtk::{glib, CompositeTemplate, TemplateChild, Label, DropDown, StringList};
use gtk::{glib, CompositeTemplate, DropDown, Label, StringList, TemplateChild};
use super::cardEntry;
@ -19,7 +18,7 @@ pub struct CardEntry {
pub resetCardList: TemplateChild<StringList>,
// first string is the alias name, the first return string is the index of the adapter and the
// second the name of the profile
pub resetCardMap: RefCell<HashMap<String, (u32, String)>>
pub resetCardMap: RefCell<HashMap<String, (u32, String)>>,
}
#[glib::object_subclass]