From cd1d60b9652e11427061608afda95d968f4c9200 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 16 Oct 2022 22:16:59 +0200 Subject: [PATCH] lets show "Temporarily show excluded" with All files access too --- .../simplemobiletools/gallery/pro/activities/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index 7e5611ffb..6552115e7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -320,8 +320,8 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { findItem(R.id.temporarily_show_hidden).isVisible = (!isRPlus() || isExternalStorageManager()) && !config.shouldShowHidden findItem(R.id.stop_showing_hidden).isVisible = (!isRPlus() || isExternalStorageManager()) && config.temporarilyShowHidden - findItem(R.id.temporarily_show_excluded).isVisible = !findItem(R.id.temporarily_show_hidden).isVisible && !config.temporarilyShowExcluded - findItem(R.id.stop_showing_excluded).isVisible = !findItem(R.id.temporarily_show_hidden).isVisible && config.temporarilyShowExcluded + findItem(R.id.temporarily_show_excluded).isVisible = !config.temporarilyShowExcluded + findItem(R.id.stop_showing_excluded).isVisible = config.temporarilyShowExcluded } }