diff --git a/system/ui/lib/wifi_manager_v2.py b/system/ui/lib/wifi_manager_v2.py index 53d4032db3..dbbaf6adca 100644 --- a/system/ui/lib/wifi_manager_v2.py +++ b/system/ui/lib/wifi_manager_v2.py @@ -117,15 +117,6 @@ class AccessPoint: ) -@dataclass -class WifiManagerCallbacks: - need_auth: Callable[[str], None] | None = None - activated: Callable[[], None] | None = None - forgotten: Callable[[str], None] | None = None - networks_updated: Callable[[list[Network]], None] | None = None - connection_failed: Callable[[str, str], None] | None = None # Added for error feedback - - class WifiManager: def __init__(self): self._networks = [] # a network can be comprised of multiple APs