Skip to content

Commit

Permalink
Show Raw folder by default
Browse files Browse the repository at this point in the history
- when no folders are selected
  • Loading branch information
vibhorSrv committed Jul 5, 2024
1 parent 1d670a8 commit 0d3f970
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static ArrayList<ImagesFolder> _fetchSelectedFolders(ContentResolver cont
SELECTED_FOLDERS_IDS.addAll(PreferenceKeys.getStringSet(PreferenceKeys.Key.FOLDERS_LIST));
if (SELECTED_FOLDERS_IDS.isEmpty()) {
SELECTED_FOLDERS_IDS.add("Camera"); //in case the user has not selected any folder
SELECTED_FOLDERS_IDS.add("Raw");
}
SELECTED_FOLDERS_IDS.forEach(s -> ALL_FOLDERS.forEach(imagesFolder -> {
if (String.valueOf(imagesFolder.folderId).equals(s) || imagesFolder.folderName.equals(s)) {
Expand Down

0 comments on commit 0d3f970

Please sign in to comment.