From 7b75df81ab533b905233d578a58009baae7651eb Mon Sep 17 00:00:00 2001 From: Brian Floersch Date: Mon, 15 Jan 2018 16:01:22 -0500 Subject: [PATCH] dont allow exclude when showing all folder content --- .../com/simplemobiletools/gallery/activities/MediaActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt index e4aaa8ad2..caa2a26e3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/MediaActivity.kt @@ -157,6 +157,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener { menu.apply { findItem(R.id.hide_folder).isVisible = !isFolderHidden && !mShowAll findItem(R.id.unhide_folder).isVisible = isFolderHidden && !mShowAll + findItem(R.id.exclude_folder).isVisible = !mShowAll findItem(R.id.folder_view).isVisible = mShowAll findItem(R.id.open_camera).isVisible = mShowAll