mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
[
|
||||
{
|
||||
"articleStyle": 0,
|
||||
"customOrder": 1,
|
||||
"enableJs": true,
|
||||
"enabled": true,
|
||||
"loadWithBaseUrl": true,
|
||||
"singleUrl": true,
|
||||
"sourceIcon": "https://funimg.pddpic.com/ktt/762ee1c9-a117-46e4-b0c7-9d820420c08b.png.slim.png",
|
||||
"sourceName": "我的小店",
|
||||
"sourceUrl": "weixin://dl/business/?t=7J0aXwcqPPd"
|
||||
},
|
||||
{
|
||||
"customOrder": 2,
|
||||
"enableJs": true,
|
||||
"enabled": true,
|
||||
"singleUrl": true,
|
||||
"sourceGroup": "legado",
|
||||
"sourceIcon": "https://cdn.jsdelivr.net/gh/gedoor/legado@master/app/src/main/res/mipmap-hdpi/ic_launcher.png",
|
||||
@@ -10,7 +21,7 @@
|
||||
"sourceUrl": "https://www.yuque.com/legado"
|
||||
},
|
||||
{
|
||||
"customOrder": 2,
|
||||
"customOrder": 3,
|
||||
"enableJs": true,
|
||||
"enabled": true,
|
||||
"singleUrl": true,
|
||||
@@ -20,7 +31,7 @@
|
||||
"sourceUrl": "snssdk1128://user/profile/562564899806367"
|
||||
},
|
||||
{
|
||||
"customOrder": 3,
|
||||
"customOrder": 4,
|
||||
"enableJs": true,
|
||||
"enabled": true,
|
||||
"singleUrl": true,
|
||||
@@ -30,7 +41,7 @@
|
||||
"sourceUrl": "https://pan.miaogongzi.net"
|
||||
},
|
||||
{
|
||||
"customOrder": 4,
|
||||
"customOrder": 5,
|
||||
"enableJs": true,
|
||||
"enabled": true,
|
||||
"singleUrl": true,
|
||||
|
||||
@@ -59,16 +59,16 @@ by appCtx.getSharedPreferences("local", Context.MODE_PRIVATE) {
|
||||
get() = isLastVersion(1, "ruleHelpVersion")
|
||||
|
||||
val needUpHttpTTS: Boolean
|
||||
get() = !isLastVersion(5, "httpTtsVersion")
|
||||
get() = !isLastVersion(6, "httpTtsVersion")
|
||||
|
||||
val needUpTxtTocRule: Boolean
|
||||
get() = !isLastVersion(2, "txtTocRuleVersion")
|
||||
get() = !isLastVersion(3, "txtTocRuleVersion")
|
||||
|
||||
val needUpRssSources: Boolean
|
||||
get() = !isLastVersion(4, "rssSourceVersion")
|
||||
get() = !isLastVersion(5, "rssSourceVersion")
|
||||
|
||||
val needUpDictRule: Boolean
|
||||
get() = !isLastVersion(1, "needUpDictRule")
|
||||
get() = !isLastVersion(2, "needUpDictRule")
|
||||
|
||||
var versionCode
|
||||
get() = getLong(versionCodeKey, 0)
|
||||
|
||||
Reference in New Issue
Block a user