move merge live photos up, so that mFilesAll is same as mFiles

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2023-11-14 10:43:45 +01:00 committed by alperozturk
parent bed3c8d15d
commit c14754fc6a
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF

View file

@ -702,9 +702,9 @@ public class OCFileListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
}
sortOrder = preferences.getSortOrderByFolder(directory);
mFiles = sortOrder.sortCloudFiles(mFiles);
mergeOCFilesForLivePhoto();
mFilesAll.clear();
mFilesAll.addAll(mFiles);
mergeOCFilesForLivePhoto();
currentDirectory = directory;
} else {
mFiles.clear();