放弃在后台任务中去读取 state.page

This commit is contained in:
2026-07-11 08:30:47 +08:00
parent 0d11292273
commit 1049dfd79d
+1 -1
View File
@@ -726,7 +726,7 @@ local function backgroundSyncTask()
end end
end end
if pendingMachineUpdate and state and tostring(state.page or 'home') == 'home' then if pendingMachineUpdate then
isUpdating = true isUpdating = true
lastUpdateError = nil lastUpdateError = nil
pcall(drawVersionIndicator) pcall(drawVersionIndicator)