mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
[skip ci] fix File.listFileDocs
This commit is contained in:
parent
aeafc57c03
commit
d237103408
@ -17,8 +17,7 @@ fun File.exists(vararg subDirFiles: String): Boolean {
|
||||
@Throws(Exception::class)
|
||||
fun File.listFileDocs(filter: FileDocFilter? = null): ArrayList<FileDoc> {
|
||||
val docList = arrayListOf<FileDoc>()
|
||||
listFiles()
|
||||
listFiles()?.forEach {
|
||||
listFiles {
|
||||
val item = FileDoc(
|
||||
it.name,
|
||||
it.isDirectory,
|
||||
|
Loading…
Reference in New Issue
Block a user