mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-24 07:40:55 +01:00
show the Open Recycle Bin only if it isnt shown as a folder
This commit is contained in:
parent
a03a246033
commit
79512f2d1f
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user