fix: Merge

This commit is contained in:
Fabio Lenherr / DashieTM 2023-11-12 13:17:19 +01:00
parent ca77df98e1
commit d07180e2c7
7 changed files with 26 additions and 83 deletions

View file

@ -43,8 +43,8 @@ impl WifiBox {
pub fn setupCallbacks(&self) {
let selfImp = self.imp();
selfImp.resetWifiSwitchRow.set_action_name(Some("navigation.push"));
selfImp.resetWifiSwitchRow.set_action_target_value(Some(&Variant::from("saved")))
selfImp.resetSavedNetworks.set_action_name(Some("navigation.push"));
selfImp.resetSavedNetworks.set_action_target_value(Some(&Variant::from("saved")))
}
// pub fn donotdisturb() {

View file

@ -25,8 +25,6 @@ pub struct WifiBox {
#[template_child]
pub resetWifiList: TemplateChild<ListBox>,
#[template_child]
pub resetWifiAdvanced: TemplateChild<Button>,
#[template_child]
pub resetStoredWifiList: TemplateChild<ListBox>,
pub wifiEntries: Arc<Mutex<Vec<ListEntry>>>,
pub savedWifiEntries: Arc<Mutex<Vec<ListEntry>>>,

View file

@ -65,10 +65,6 @@ pub const HANDLE_MICROPHONE_CLICK: fn(FlowBox) = |resetMain: FlowBox| {
resetMain.set_max_children_per_line(1);
};
pub const HANDLE_HOME: fn(FlowBox) = |resetMain: FlowBox| {
resetMain.remove_all();
};
pub const HANDLE_PERIPHERALS_CLICK: fn(FlowBox) = |resetMain: FlowBox| {
let label = Label::new(Some("not implemented yet"));
resetMain.remove_all();