mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-07-01 15:57:46 +02:00
fix: Merge
This commit is contained in:
parent
ca77df98e1
commit
d07180e2c7
7 changed files with 26 additions and 83 deletions
|
@ -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() {
|
||||
|
|
|
@ -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>>>,
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue