diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt index aa2a69173..ac7a269e8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt @@ -242,8 +242,8 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener { findItem(R.id.about).isVisible = mShowAll findItem(R.id.create_new_folder).isVisible = !mShowAll && mPath != RECYCLE_BIN && mPath != FAVORITES - findItem(R.id.temporarily_show_hidden).isVisible = !config.shouldShowHidden - findItem(R.id.stop_showing_hidden).isVisible = config.temporarilyShowHidden + findItem(R.id.temporarily_show_hidden).isVisible = !isRPlus() && !config.shouldShowHidden + findItem(R.id.stop_showing_hidden).isVisible = !isRPlus() && config.temporarilyShowHidden findItem(R.id.set_as_default_folder).isVisible = !isDefaultFolder findItem(R.id.unset_as_default_folder).isVisible = isDefaultFolder