From 830f456359c6d78bbbbbed7c48fee55a23f184b0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 5 Dec 2016 21:50:16 +0100 Subject: [PATCH] update the hidden folders check --- .../gallery/adapters/DirectoryAdapter.kt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt index d4b0780a0..028f671a6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt @@ -114,16 +114,19 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList 0 menu.findItem(R.id.cab_unhide).isVisible = hiddenCnt > 0 + + + return true }