💄 (setting): 账号页使用书源自己的图标

This commit is contained in:
Garfield committed 2026-11-27 08:46:36 +08:00
1 parent feba3b347e
commit 44dad9b26f
1 file changed
+5
@@ -14,6 +14,11 @@ local CookieLogin = require("source.cookie_login")
local SOURCE_ID = "changpei" local SOURCE_ID = "changpei"
local Setting = {} local Setting = {}
function Setting.rowIcon()
return "stylus_note"
end
---@return boolean ---@return boolean
local function loggedIn() local function loggedIn()
return require("moonsource_changpei.client").cookie() ~= nil return require("moonsource_changpei.client").cookie() ~= nil