diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt index 659636d1e..46fe56a5b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt @@ -201,13 +201,8 @@ class MediaFetcher(val context: Context) { } } - val downloadsFolder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).toString() val screenshotsFolder = "${Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES)}/Screenshots" val foldersToScan = config.includedFolders - if (File(downloadsFolder).exists()) { - foldersToScan.add(downloadsFolder) - } - if (File(screenshotsFolder).exists()) { foldersToScan.add(screenshotsFolder) }