🐛 (shelf): 微信书架待导入快照只弹一次导入页,普通刷新不再重复弹窗
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
d77606c6f8
commit
b4ff3791f1
4 files changed
+22
-1
No files matched your search
@@ -138,6 +138,7 @@ function Client:shelfSyncAsync(cb, spill, open_import)
|
||||
local ok, werr = ShelfImport.stash(data.body)
|
||||
Awake.hold("wechat_shelf", false)
|
||||
if ok and open_import then
|
||||
ShelfImport.prompted = true
|
||||
require("utils.extension").call("web.open_page", ShelfImport.PAGE, _("微信书架导入"), ShelfImport.TOO_LARGE)
|
||||
end
|
||||
cb(nil, ok and ShelfImport.TOO_LARGE or werr)
|
||||
|
||||
Reference in new issue
Block a user