mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +08:00
修复bug
This commit is contained in:
parent
45e664d4d0
commit
fd1a1ae9b8
@ -159,11 +159,11 @@ class OnLineImportViewModel(app: Application) : BaseViewModel(app) {
|
||||
json.contains("replacement") ->
|
||||
successLive.postValue(Pair("replaceRule", json))
|
||||
json.contains("themeName") ->
|
||||
importTextTocRule(json, finally)
|
||||
importTheme(json, finally)
|
||||
json.contains("name") && json.contains("rule") ->
|
||||
importTextTocRule(json, finally)
|
||||
json.contains("name") && json.contains("url") ->
|
||||
importTextTocRule(json, finally)
|
||||
importHttpTTS(json, finally)
|
||||
else -> errorLive.postValue("格式不对")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user