chore: 移除主界面 sunnylink 连接状态显示

This commit is contained in:
mawei
2026-06-03 11:15:24 +08:00
parent 9967a69abe
commit e810b1c1e7
+1 -1
View File
@@ -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]
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)