ui: reduce network selection lag (#35945)

lag
This commit is contained in:
Maxime Desroches
2025-08-07 13:43:27 -07:00
committed by GitHub
parent ed0346980c
commit f04bb6b9fa
2 changed files with 3 additions and 9 deletions
+1 -2
View File
@@ -187,8 +187,7 @@ class WifiManagerUI(Widget):
def _forget_networks_buttons_callback(self, network):
if self.scroll_panel.is_touch_valid():
if isinstance(self.state, StateIdle):
self.state = StateShowForgetConfirm(network)
self.state = StateShowForgetConfirm(network)
def _draw_status_icon(self, rect, network: NetworkInfo):
"""Draw the status icon based on network's connection state"""