🐛 (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
@@ -55,7 +55,11 @@ function ShelfImport.size()
|
||||
return size
|
||||
end
|
||||
|
||||
--- 当前待导入快照是否已弹过导入页(进程内);快照没了就清零。
|
||||
ShelfImport.prompted = false
|
||||
|
||||
function ShelfImport.discard()
|
||||
ShelfImport.prompted = false
|
||||
os.remove(ShelfImport.path())
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user