fix(bluetooth): disabling/enabling typo
This commit is contained in:
parent
d613f7df3f
commit
1cb442f2bf
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue