sort order by creation date

This commit is contained in:
tobiasKaminsky 2017-04-26 14:58:09 +02:00 committed by AndyScherzinger
parent 478370c4dd
commit f1dc6fb89c
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

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>();