mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-07 05:45:49 +01:00
do not show the Toggle Filename menu item at storage analysis fragment
This commit is contained in:
parent
347649693a
commit
18e89da361
@ -167,7 +167,7 @@ class MainActivity : SimpleActivity() {
|
||||
findItem(R.id.remove_favorite).isVisible = currentFragment is ItemsFragment && favorites.contains(currentFragment.currentPath)
|
||||
findItem(R.id.go_to_favorite).isVisible = currentFragment is ItemsFragment && favorites.isNotEmpty()
|
||||
|
||||
findItem(R.id.toggle_filename).isVisible = currentViewType == VIEW_TYPE_GRID
|
||||
findItem(R.id.toggle_filename).isVisible = currentViewType == VIEW_TYPE_GRID && currentFragment !is StorageFragment
|
||||
findItem(R.id.go_home).isVisible = currentFragment is ItemsFragment && currentFragment.currentPath != config.homeFolder
|
||||
findItem(R.id.set_as_home).isVisible = currentFragment is ItemsFragment && currentFragment.currentPath != config.homeFolder
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user