From 2230933d4be2c3db83e7737208065aba79b961a9 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 4 Feb 2026 16:38:24 -0800 Subject: [PATCH] Back to tethering BigButton (#37082) Back to tethering big button --- selfdrive/assets/icons_mici/tethering_short.png | 3 --- selfdrive/ui/mici/layouts/settings/network/__init__.py | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 selfdrive/assets/icons_mici/tethering_short.png diff --git a/selfdrive/assets/icons_mici/tethering_short.png b/selfdrive/assets/icons_mici/tethering_short.png deleted file mode 100644 index f97fed95d..000000000 --- a/selfdrive/assets/icons_mici/tethering_short.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fce940a3cbd2e9530e8efdde90794013a272919b2f3ea482bc06535c795640e7 -size 2176 diff --git a/selfdrive/ui/mici/layouts/settings/network/__init__.py b/selfdrive/ui/mici/layouts/settings/network/__init__.py index 0d5e52783..d3ca11ce3 100644 --- a/selfdrive/ui/mici/layouts/settings/network/__init__.py +++ b/selfdrive/ui/mici/layouts/settings/network/__init__.py @@ -4,7 +4,7 @@ from collections.abc import Callable from openpilot.system.ui.widgets.scroller import Scroller from openpilot.selfdrive.ui.mici.layouts.settings.network.wifi_ui import WifiUIMici -from openpilot.selfdrive.ui.mici.widgets.button import BigButton, BigMultiToggle, BigParamControl, BigCircleToggle +from openpilot.selfdrive.ui.mici.widgets.button import BigButton, BigMultiToggle, BigParamControl, BigToggle from openpilot.selfdrive.ui.mici.widgets.dialog import BigInputDialog from openpilot.selfdrive.ui.ui_state import ui_state from openpilot.selfdrive.ui.lib.prime_state import PrimeType @@ -39,8 +39,7 @@ class NetworkLayoutMici(NavWidget): self._network_metered_btn.set_enabled(False) self._wifi_manager.set_tethering_active(checked) - self._tethering_toggle_btn = BigCircleToggle("icons_mici/tethering_short.png", toggle_callback=tethering_toggle_callback, - icon_size=(82, 82), icon_offset=(0, 12)) + self._tethering_toggle_btn = BigToggle("enable tethering", "", toggle_callback=tethering_toggle_callback) def tethering_password_callback(password: str): if password: