fix: some issue in bluetooth widget
This commit is contained in:
1 file changed
+1
@@ -189,6 +189,7 @@ class BluetoothDeviceSlot(Box):
|
||||
if (
|
||||
hasattr(self.device, "battery_percentage")
|
||||
and self.device.battery_percentage > 0
|
||||
and self.device.connected
|
||||
):
|
||||
if self.battery_icon and self.battery_label:
|
||||
self.battery_icon.set_visible(True)
|
||||
|
||||
Reference in new issue
Block a user