Fix wifi settings NavWidget

This commit is contained in:
Shane Smiskol
2025-11-29 00:56:43 -08:00
parent 65f18c363b
commit d8c316faef
@@ -112,6 +112,8 @@ class NetworkLayoutMici(NavWidget):
self.set_back_callback(back_callback)
def _update_state(self):
super()._update_state()
# If not using prime SIM, show GSM settings and enable IPv4 forwarding
show_cell_settings = ui_state.prime_state.get_type() in (PrimeType.NONE, PrimeType.LITE)
self._wifi_manager.set_ipv4_forward(show_cell_settings)