Skip to content

Commit 1cb442f

Browse files
committed
fix(bluetooth): disabling/enabling typo
1 parent d613f7d commit 1cb442f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

subscriptions/bluetooth/src/device.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl Device {
111111
}
112112
}
113113
DeviceUpdate::Paired(paired) => {
114-
self.enabled = Active::Disabling;
114+
self.enabled = Active::Enabling;
115115
self.paired = paired;
116116
}
117117
DeviceUpdate::Icon(icon) => self.icon = icon,
@@ -254,7 +254,6 @@ pub async fn connect_device(connection: zbus::Connection, device_path: OwnedObje
254254
return Event::Ok;
255255
}
256256
}
257-
258257
Event::DeviceFailed(device_path)
259258
}
260259

0 commit comments

Comments
 (0)