fix(koplugin): only prompt network connection during interactive push progress, closes #2137 (#2152)
Some checks are pending
Deploy to vercel on merge / build_and_deploy (push) Waiting to run

This commit is contained in:
Huang Xin 2025-10-01 20:57:58 +08:00 committed by GitHub
parent bdef593cdd
commit 75c315fca8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -436,7 +436,7 @@ function ReadestSync:pushBookConfig(interactive)
local config = self:getCurrentBookConfig()
if not config then return end
if NetworkMgr:willRerunWhenOnline(function() self:pushBookConfig(interactive) end) then
if interactive and NetworkMgr:willRerunWhenOnline(function() self:pushBookConfig(interactive) end) then
return
end