mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
do not show the Temporarily show/hide hidden at the media screen either
This commit is contained in:
parent
124fb95a2a
commit
9577a5e8e2
1 changed files with 2 additions and 2 deletions
|
@ -242,8 +242,8 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
||||||
findItem(R.id.about).isVisible = mShowAll
|
findItem(R.id.about).isVisible = mShowAll
|
||||||
findItem(R.id.create_new_folder).isVisible = !mShowAll && mPath != RECYCLE_BIN && mPath != FAVORITES
|
findItem(R.id.create_new_folder).isVisible = !mShowAll && mPath != RECYCLE_BIN && mPath != FAVORITES
|
||||||
|
|
||||||
findItem(R.id.temporarily_show_hidden).isVisible = !config.shouldShowHidden
|
findItem(R.id.temporarily_show_hidden).isVisible = !isRPlus() && !config.shouldShowHidden
|
||||||
findItem(R.id.stop_showing_hidden).isVisible = config.temporarilyShowHidden
|
findItem(R.id.stop_showing_hidden).isVisible = !isRPlus() && config.temporarilyShowHidden
|
||||||
|
|
||||||
findItem(R.id.set_as_default_folder).isVisible = !isDefaultFolder
|
findItem(R.id.set_as_default_folder).isVisible = !isDefaultFolder
|
||||||
findItem(R.id.unset_as_default_folder).isVisible = isDefaultFolder
|
findItem(R.id.unset_as_default_folder).isVisible = isDefaultFolder
|
||||||
|
|
Loading…
Reference in a new issue