forked from moon-source/moonsource-fanqie
♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
088a1a2d94
commit
241cea9599
12 files changed
+21
-21
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
local _ = require("l10n").get("moonsource_fanqie")
|
||||
|
||||
local SOURCE_ID = "ext.fanqie"
|
||||
local SOURCE_ID = "fanqie"
|
||||
local M = {}
|
||||
|
||||
function M.rowTitle()
|
||||
@@ -64,11 +64,11 @@ function M.rows(plugin)
|
||||
if plugin and plugin.desktop then plugin.desktop:updateView() end
|
||||
end })
|
||||
end,
|
||||
require("source.category_setting").row("ext.fanqie", plugin),
|
||||
require("source.category_setting").row("fanqie", plugin),
|
||||
}
|
||||
local _status, logged_in = M.rowStatus()
|
||||
if logged_in then
|
||||
rows[#rows + 1] = require("source.logout").row("ext.fanqie", _("确定退出番茄账号?"), function()
|
||||
rows[#rows + 1] = require("source.logout").row("fanqie", _("确定退出番茄账号?"), function()
|
||||
local settings = require("moonsource_fanqie.settings"):new()
|
||||
settings:set("cookies", nil)
|
||||
settings:flush()
|
||||
|
||||
Reference in new issue
Block a user