优化
This commit is contained in:
1 parent
41bd73cbd7
commit
0254bfdabd
1 file changed
+1
-1
@@ -47,7 +47,7 @@ class FileAssociationViewModel(application: Application) : BaseAssociationViewMo
|
|||||||
importHttpTTS(content, finally)
|
importHttpTTS(content, finally)
|
||||||
else -> errorLiveData.postValue("格式不对")
|
else -> errorLiveData.postValue("格式不对")
|
||||||
}
|
}
|
||||||
uri.toString().matches(bookFileRegex) -> {
|
(uri.path ?: uri.toString()).matches(bookFileRegex) -> {
|
||||||
importBookLiveData.postValue(uri)
|
importBookLiveData.postValue(uri)
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
|
|||||||
Reference in new issue
Block a user