fix(bluetooth): disabling/enabling typo

This commit is contained in:
Ashley Wulber 2025-10-21 10:06:41 -04:00 committed by Ashley Wulber
parent d613f7df3f
commit 1cb442f2bf

View file

@ -111,7 +111,7 @@ impl Device {
}
}
DeviceUpdate::Paired(paired) => {
self.enabled = Active::Disabling;
self.enabled = Active::Enabling;
self.paired = paired;
}
DeviceUpdate::Icon(icon) => self.icon = icon,
@ -254,7 +254,6 @@ pub async fn connect_device(connection: zbus::Connection, device_path: OwnedObje
return Event::Ok;
}
}
Event::DeviceFailed(device_path)
}