lets show Temporarily show excluded, even if empty
This commit is contained in:
parent
8d6615c425
commit
0e0a3e5596
1 changed files with 1 additions and 2 deletions
|
@ -309,8 +309,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
menu.findItem(R.id.temporarily_show_hidden).isVisible = (!isRPlus() || isExternalStorageManager()) && !config.shouldShowHidden
|
||||
menu.findItem(R.id.stop_showing_hidden).isVisible = (!isRPlus() || isExternalStorageManager()) && config.temporarilyShowHidden
|
||||
|
||||
menu.findItem(R.id.temporarily_show_excluded).isVisible =
|
||||
!menu.findItem(R.id.temporarily_show_hidden).isVisible && !config.temporarilyShowExcluded && config.excludedFolders.isNotEmpty()
|
||||
menu.findItem(R.id.temporarily_show_excluded).isVisible = !menu.findItem(R.id.temporarily_show_hidden).isVisible && !config.temporarilyShowExcluded
|
||||
menu.findItem(R.id.stop_showing_excluded).isVisible = !menu.findItem(R.id.temporarily_show_hidden).isVisible && config.temporarilyShowExcluded
|
||||
|
||||
updateMenuItemColors(menu)
|
||||
|
|
Loading…
Reference in a new issue