From 230d793a40844ce66fbbfec9af761e18bfcad40d Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 29 Sep 2019 22:08:31 +0200 Subject: [PATCH] removing a redundant config call --- .../com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt index ba762eb3a..ad7070351 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/MediaFetcher.kt @@ -206,7 +206,7 @@ class MediaFetcher(val context: Context) { val checkProperFileSize = getProperFileSize || config.fileLoadingPriority == PRIORITY_COMPROMISE val checkFileExistence = config.fileLoadingPriority == PRIORITY_VALIDITY val showHidden = config.shouldShowHidden - val showPortraits = config.filterMedia and TYPE_PORTRAITS != 0 + val showPortraits = filterMedia and TYPE_PORTRAITS != 0 val dateTakens = if (getProperDateTaken && folder != FAVORITES && !isRecycleBin) getFolderDateTakens(folder) else HashMap() val subdirs = ArrayList() // used only for Portrait photos starting with "IMG_" for now