From 8c58964a995d4ea8521741fd349df2a55bfa225e Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 9 Oct 2016 15:23:03 +0200 Subject: [PATCH] update menu items at hiding folders --- .../com/simplemobiletools/gallery/activities/MediaActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java b/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java index b67b9fef8..38fa0bb6c 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java +++ b/app/src/main/java/com/simplemobiletools/gallery/activities/MediaActivity.java @@ -177,6 +177,8 @@ public class MediaActivity extends SimpleActivity if (!mConfig.getShowHiddenFolders()) finish(); + else + invalidateOptionsMenu(); } private void unhideDirectory() {