This commit is contained in:
sankalp committed 2024-11-15 18:26:25 +05:45
1 parent b94984d0e3
commit 8cdd6d9797
41 files changed
+553 -43

No files matched your search

@@ -1,6 +1,7 @@
from fabric.bluetooth import BluetoothClient
from fabric.widgets.box import Box
from icon import MaterialIcon # Import your MaterialIcon function
from services.icon import MaterialIcon # Import your MaterialIcon function
class Bluetooth(Box):
ICON_ENABLED = "bluetooth" # Use the appropriate Material icon name
@@ -32,4 +33,3 @@ class Bluetooth(Box):
def on_destroy(self):
"""Disconnect the Bluetooth client when the widget is destroyed."""
self.bluetooth_client.disconnect("changed", self.update_bluetooth_status)