From 4724df1920bbc0014dda2056b14a49352e276905 Mon Sep 17 00:00:00 2001 From: Lennard Kittner Date: Mon, 29 Sep 2025 08:51:34 +0200 Subject: [PATCH] Tray fixes --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4407f0a..06d163a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -44,7 +44,8 @@ fn main() { Ok(()) => (), Err(error) => { eprintln!("{error}"); - device.get_device_state_mut().connected = None; + //TODO: only set to none on headsets where connection can be detected + // device.get_device_state_mut().connected = None; tray_handler.update(device.get_device_state()); break; // try to reconnect }