From f65f7b7a72da8a3c176dde3bb9aab8e20edeba50 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Sat, 15 Aug 2026 21:40:38 +0800 Subject: [PATCH] ui: hide sunnylink status from home sidebar metrics --- openpilot/selfdrive/ui/sunnypilot/layouts/sidebar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpilot/selfdrive/ui/sunnypilot/layouts/sidebar.py b/openpilot/selfdrive/ui/sunnypilot/layouts/sidebar.py index 79bb15dbb..bf91f1818 100644 --- a/openpilot/selfdrive/ui/sunnypilot/layouts/sidebar.py +++ b/openpilot/selfdrive/ui/sunnypilot/layouts/sidebar.py @@ -79,7 +79,7 @@ class SidebarSP: self._sunnylink_status.update(tr_noop("SUNNYLINK"), status, color) def _draw_metrics_w_sunnylink(self, rect: rl.Rectangle, _temp, _panda, _connect): - metrics = [_temp, _panda, _connect, self._sunnylink_status] + metrics = [_temp, _panda, _connect] # sunnylink status hidden start_y = int(rect.y) + METRIC_START_Y available_height = max(0, int(HOME_BTN.y) - METRIC_MARGIN - METRIC_HEIGHT - start_y) spacing = available_height / max(1, len(metrics) - 1)