WifiManager: handle failed state change (#37205)

* handle connecting to network that drops out w/ wrong password (no longer says connected and now deletes connection)

* clean up

* combine
This commit is contained in:
Shane Smiskol
2026-02-13 17:02:42 -08:00
committed by GitHub
parent 1b426a3160
commit 10065c8c28
3 changed files with 11 additions and 4 deletions
@@ -367,8 +367,9 @@ class WifiUIMici(BigMultiOptionDialog):
self._update_buttons()
def _open_network_manage_page(self, result=None):
self._network_info_page.update_networks(self._networks)
gui_app.set_modal_overlay(self._network_info_page)
if self._network_info_page._network is not None and self._network_info_page._network.ssid in self._networks:
self._network_info_page.update_networks(self._networks)
gui_app.set_modal_overlay(self._network_info_page)
def _forget_network(self, ssid: str):
network = self._networks.get(ssid)