From 79512f2d1f2a1d0f74765f4f3bc9ca76f0ccd1fa Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 23 Jan 2023 16:16:01 +0100 Subject: [PATCH] show the Open Recycle Bin only if it isnt shown as a folder --- .../simplemobiletools/gallery/pro/activities/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c9c489a22..c8515a321 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 @@ -313,7 +313,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { main_menu.getToolbar().menu.apply { findItem(R.id.column_count).isVisible = config.viewTypeFolders == VIEW_TYPE_GRID findItem(R.id.set_as_default_folder).isVisible = !config.defaultFolder.isEmpty() - findItem(R.id.open_recycle_bin).isVisible = !config.useRecycleBin + findItem(R.id.open_recycle_bin).isVisible = config.useRecycleBin && !config.showRecycleBinAtFolders findItem(R.id.more_apps_from_us).isVisible = !resources.getBoolean(R.bool.hide_google_relations) } }