mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
文件类书源解压位置改到保存书籍目录的地方
This commit is contained in:
parent
94597164c0
commit
3a739f4e55
@ -275,7 +275,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
|
||||
|
||||
fun deCompress(archiveFileUri: Uri, onSuccess: (List<FileDoc>) -> Unit) {
|
||||
execute {
|
||||
ArchiveUtils.deCompress(archiveFileUri, defaultBookTreeUri).list {
|
||||
ArchiveUtils.deCompress(archiveFileUri, defaultBookTreeUri!!).list {
|
||||
AppPattern.bookFileRegex.matches(it.name)
|
||||
} ?: emptyList()
|
||||
}.onError {
|
||||
|
Loading…
Reference in New Issue
Block a user