mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -116,11 +116,13 @@ class FileAssociationActivity :
|
||||
viewModel.dispatchIndent(data)
|
||||
}.onDenied {
|
||||
toastOnUi("请求存储权限失败。")
|
||||
finish()
|
||||
}.request()
|
||||
} else {
|
||||
toastOnUi("由于安卓系统限制,请使用系统文件管理重新打开。")
|
||||
finish()
|
||||
}
|
||||
}
|
||||
} ?: finish()
|
||||
}
|
||||
|
||||
private fun importBook(uri: Uri) {
|
||||
|
||||
Reference in New Issue
Block a user