mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
WifiUi: update wifi button in loop (#37246)
* move to update_state * move back
This commit is contained in:
@@ -227,6 +227,10 @@ class WifiManager:
|
||||
if disconnected is not None:
|
||||
self._disconnected.append(disconnected)
|
||||
|
||||
@property
|
||||
def networks(self) -> list[Network]:
|
||||
return self._networks
|
||||
|
||||
@property
|
||||
def ipv4_address(self) -> str:
|
||||
return self._ipv4_address
|
||||
|
||||
Reference in New Issue
Block a user