mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
本地书籍无权限则保存到自己选定的文件夹
This commit is contained in:
parent
c51b60c8e6
commit
a8970d7c1f
@ -26,6 +26,7 @@ class FileAssociationActivity :
|
||||
|
||||
private val localBookTreeSelect = registerForActivityResult(HandleFileContract()) {
|
||||
it.uri?.let { treeUri ->
|
||||
AppConfig.defaultBookTreeUri = treeUri.toString()
|
||||
intent.data?.let { uri ->
|
||||
importBook(treeUri, uri)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user