mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
e5cc724097
commit
60510c59a1
@ -76,7 +76,6 @@ class OnLineImportActivity :
|
||||
)
|
||||
else -> {
|
||||
viewModel.determineType(url, this::finallyDialog)
|
||||
finish()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -164,6 +164,7 @@ class OnLineImportViewModel(app: Application) : BaseViewModel(app) {
|
||||
importTextTocRule(json, finally)
|
||||
json.contains("name") && json.contains("url") ->
|
||||
importTextTocRule(json, finally)
|
||||
else -> errorLive.postValue("格式不对")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user