mirror of
https://github.com/nextcloud/android.git
synced 2024-12-20 16:02:01 +03:00
fix getFiles
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
bd25a7888c
commit
0cb6307e34
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ class SyncWorker(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getFiles(folder: OCFile, storageManager: FileDataStorageManager): List<OCFile> =
|
private fun getFiles(folder: OCFile, storageManager: FileDataStorageManager): List<OCFile> =
|
||||||
storageManager.getFolderContent(folder, false)
|
storageManager.getAllFilesRecursivelyInsideFolder(folder)
|
||||||
.filter { !it.isFolder && !it.isDown }
|
.filter { !it.isFolder && !it.isDown }
|
||||||
|
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
|
|
Loading…
Reference in a new issue