♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
7a09f7c834
commit
86b1f0c562
11 files changed
+26
-26
No files matched your search
@@ -87,11 +87,11 @@ function Setting.rows()
|
||||
callback = function() Setting.prompt(false) end })
|
||||
end,
|
||||
}
|
||||
if require("utils.settings").getSource("ext.zymk").account then
|
||||
rows[#rows + 1] = require("source.logout").row("ext.zymk", _("确定退出知音漫客账号?"), function()
|
||||
if require("utils.settings").getSource("zymk").account then
|
||||
rows[#rows + 1] = require("source.logout").row("zymk", _("确定退出知音漫客账号?"), function()
|
||||
local Settings = require("utils.settings")
|
||||
Settings.getSource("ext.zymk").account = nil
|
||||
Settings.saveSource("ext.zymk")
|
||||
Settings.getSource("zymk").account = nil
|
||||
Settings.saveSource("zymk")
|
||||
end)
|
||||
end
|
||||
return rows
|
||||
|
||||
Reference in new issue
Block a user