fix(bluetooth): UI not updating when devices auto-connect externally

This commit is contained in:
sankalp committed 2026-07-22 15:08:02 +05:45
1 parent fcd2952d29
commit 87b093eabb
1 file changed
+2
+2
View File
@@ -616,6 +616,7 @@ class BluetoothConnections(Box):
slot = existing_paired.pop(device.address)
# update existing
slot.device = device
slot.device.emit("changed")
elif device.address in existing_other:
slot = existing_other.pop(device.address)
slot.device = device
@@ -630,6 +631,7 @@ class BluetoothConnections(Box):
if device.address in existing_other:
slot = existing_other.pop(device.address)
slot.device = device
slot.device.emit("changed")
elif device.address in existing_paired:
slot = existing_paired.pop(device.address)
slot.device = device