From c10aa4dda7ee3ba2228e5ec004f01b93a3117672 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 23 Oct 2026 22:39:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9B=B4=E6=96=B0=E5=9B=BE=E6=A0=87):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E6=AC=A1=E6=9B=B4=E6=96=B0=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/ofdgo.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/webui/ofdgo.js b/assets/webui/ofdgo.js index 6aff51a..45226d1 100644 --- a/assets/webui/ofdgo.js +++ b/assets/webui/ofdgo.js @@ -5153,7 +5153,11 @@ function watchApplicationUpdates(checksum) { } const latest = nativeHost ? await nativeHost.call("update.check", {}) : await applicationChecksum("./", { method: "HEAD", cache: "no-store" }); if (nativeHost) { - el.refreshAppButton.hidden = !latest; + const hidden = !latest; + if (el.refreshAppButton.hidden !== hidden) { + el.refreshAppButton.hidden = hidden; + updateTitleBarRegions(); + } } else if (latest) { el.refreshAppButton.hidden = latest === checksum; }