fix(display): 不在 ws.open 时 showTime,避免覆盖未激活时的 PIN 显示
Made-with: Cursor
This commit is contained in:
@@ -131,7 +131,7 @@ class ClawClient {
|
|||||||
this._backoff = 1_000;
|
this._backoff = 1_000;
|
||||||
this._sendConnect();
|
this._sendConnect();
|
||||||
this._startPing();
|
this._startPing();
|
||||||
led.display.showTime(); // 连上云端 → 显示时间
|
// 显示由 _onConnected 根据 status 设置,不在此处提前 showTime
|
||||||
});
|
});
|
||||||
|
|
||||||
ws.on('message', (data) => {
|
ws.on('message', (data) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user