Mark files in the "Recent" folder also as important

This commit is contained in:
Vishnu Mohandas 2020-07-06 14:44:34 +05:30
parent 1fde3d6e95
commit f79f2497e7

View file

@ -10,6 +10,7 @@ class ImportantItemsFilter implements GalleryItemsFilter {
if (Platform.isAndroid) {
final String folder = basename(file.deviceFolder);
return folder == "Camera" ||
folder == "Recents" ||
folder == "DCIM" ||
folder == "Download" ||
folder == "Screenshot";