From 2e4e40747067a5e3090be2b75509c5419facb1db Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 30 Dec 2018 00:11:52 +0100 Subject: [PATCH] fix the predefined list of folders to scan --- .../com/simplemobiletools/gallery/pro/helpers/Config.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt index 5956bf22f..6613ad70c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt @@ -400,8 +400,10 @@ class Config(context: Context) : BaseConfig(context) { fun getEverShownFolders() = hashSetOf( internalStoragePath, - Environment.DIRECTORY_DCIM, - Environment.DIRECTORY_PICTURES + Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).absolutePath, + Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).absolutePath, + Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).absolutePath, + "${Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).absolutePath}/Screenshots" ) var showRecycleBinAtFolders: Boolean