Tray fixes
This commit is contained in:
@@ -44,7 +44,8 @@ fn main() {
|
|||||||
Ok(()) => (),
|
Ok(()) => (),
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
eprintln!("{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());
|
tray_handler.update(device.get_device_state());
|
||||||
break; // try to reconnect
|
break; // try to reconnect
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user