From e34e8ce80ff8d98f2f5f01f18e14cd17c8f8e674 Mon Sep 17 00:00:00 2001 From: takotori Date: Thu, 2 Nov 2023 10:43:37 +0100 Subject: [PATCH] Dynamically add bluetooth devices Add scrolling for wifi Improve audio ui a little --- src/components/audio/audioBoxImpl.rs | 2 - src/components/bluetooth/bluetoothBox.rs | 28 +++ src/components/bluetooth/bluetoothBoxImpl.rs | 6 + src/components/bluetooth/bluetoothEntry.rs | 20 +- .../bluetooth/bluetoothEntryImpl.rs | 11 ++ src/components/window/handleSidebarClick.rs | 6 +- src/resources/resetAudio.ui | 35 ++-- src/resources/resetBluetooth.ui | 75 +++---- src/resources/resetUI.cmb | 185 ++++++++++++------ src/resources/resetWiFi.ui | 34 ++-- src/resources/resetWifiEntry.ui | 2 +- 11 files changed, 263 insertions(+), 141 deletions(-) diff --git a/src/components/audio/audioBoxImpl.rs b/src/components/audio/audioBoxImpl.rs index 49241e9..b6070d7 100644 --- a/src/components/audio/audioBoxImpl.rs +++ b/src/components/audio/audioBoxImpl.rs @@ -10,8 +10,6 @@ use crate::components::audio::audioSource::AudioSourceEntry; pub struct AudioBox { #[template_child] pub resetOutputDevice: TemplateChild, - #[template_child] - pub resetAllOutputDevices: TemplateChild