sort order by creation date

This commit is contained in:
tobiasKaminsky 2017-04-26 14:58:09 +02:00 committed by Mario Danic
parent ac8b0b30bb
commit 0dc569bc94

View file

@ -116,7 +116,7 @@ public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
mImageFiles = mStorageManager.getVirtualFolderContent(type, true);
if (type == VirtualFolderType.PHOTOS) {
mImageFiles = FileStorageUtils.sortOCFilesByDate(mImageFiles);
mImageFiles = FileStorageUtils.sortOcFolderDescDateModified(mImageFiles);
}
mObsoleteFragments = new HashSet<Object>();