From 251ebf2c217e282e702af674b5558af3ed15c905 Mon Sep 17 00:00:00 2001 From: takotori Date: Thu, 2 Nov 2023 14:19:31 +0100 Subject: [PATCH] replacw wifi box in vpn with placeholder --- src/components/window/handleSidebarClick.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/window/handleSidebarClick.rs b/src/components/window/handleSidebarClick.rs index bd4597d..672bcee 100644 --- a/src/components/window/handleSidebarClick.rs +++ b/src/components/window/handleSidebarClick.rs @@ -28,9 +28,9 @@ pub const HANDLE_BLUETOOTH_CLICK: fn(FlowBox) = |resetMain: FlowBox| { }; pub const HANDLE_VPN_CLICK: fn(FlowBox) = |resetMain: FlowBox| { - let wifibox = WifiBox::new(); + let label = Label::new(Some("not implemented yet")); resetMain.remove_all(); - resetMain.insert(&wifibox, -1); + resetMain.insert(&label, -1); }; pub const HANDLE_AUDIO_CLICK: fn(FlowBox) = |resetMain: FlowBox| {