using all files not only downloaded one

This commit is contained in:
tobiasKaminsky 2016-07-13 20:55:36 +02:00 committed by Andy Scherzinger
parent d1f9cae7f4
commit cc3dfd6100

View file

@ -521,7 +521,7 @@ public class RefreshFolderOperation extends RemoteOperation {
private void fetchFavoritesToSyncFromLocalData() {
List<OCFile> children = mStorageManager.getFolderContent(mLocalFolder, true);
List<OCFile> children = mStorageManager.getFolderContent(mLocalFolder, false);
for (OCFile child : children) {
if (!child.isFolder() && child.isFavorite() && !child.isInConflict()) {
SynchronizeFileOperation operation = new SynchronizeFileOperation(