fix getFiles

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-12-19 11:37:31 +01:00
parent bd25a7888c
commit 0cb6307e34
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -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")