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)