fix(display): 不在 ws.open 时 showTime,避免覆盖未激活时的 PIN 显示

Made-with: Cursor
This commit is contained in:
stswangzhiping
2026-03-19 07:44:28 +08:00
parent 57c0a1b6f8
commit e887f5b8e2

View File

@@ -131,7 +131,7 @@ class ClawClient {
this._backoff = 1_000;
this._sendConnect();
this._startPing();
led.display.showTime(); // 连上云端 → 显示时间
// 显示由 _onConnected 根据 status 设置,不在此处提前 showTime
});
ws.on('message', (data) => {