This commit is contained in:
kunfei committed 2022-03-31 14:06:21 +08:00
1 parent 41bd73cbd7
commit 0254bfdabd
1 file changed
+1 -1
@@ -47,7 +47,7 @@ class FileAssociationViewModel(application: Application) : BaseAssociationViewMo
importHttpTTS(content, finally)
else -> errorLiveData.postValue("格式不对")
}
uri.toString().matches(bookFileRegex) -> {
(uri.path ?: uri.toString()).matches(bookFileRegex) -> {
importBookLiveData.postValue(uri)
}
else -> {