File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -164,10 +164,11 @@ class MainActivity : SimpleActivity() {
164164 findItem(R .id.set_as_home).isVisible = currentFragment is ItemsFragment && currentFragment.currentPath != config.homeFolder
165165
166166 findItem(R .id.temporarily_show_hidden).isVisible = ! config.shouldShowHidden && currentFragment !is StorageFragment
167- findItem(R .id.stop_showing_hidden).isVisible = config.temporarilyShowHidden
167+ findItem(R .id.stop_showing_hidden).isVisible = config.temporarilyShowHidden && currentFragment !is StorageFragment
168168
169- findItem(R .id.increase_column_count).isVisible = currentViewType == VIEW_TYPE_GRID && config.fileColumnCnt < MAX_COLUMN_COUNT
170- findItem(R .id.reduce_column_count).isVisible = currentViewType == VIEW_TYPE_GRID && config.fileColumnCnt > 1
169+ findItem(R .id.increase_column_count).isVisible =
170+ currentViewType == VIEW_TYPE_GRID && config.fileColumnCnt < MAX_COLUMN_COUNT && currentFragment !is StorageFragment
171+ findItem(R .id.reduce_column_count).isVisible = currentViewType == VIEW_TYPE_GRID && config.fileColumnCnt > 1 && currentFragment !is StorageFragment
171172 }
172173
173174 return true
You can’t perform that action at this time.
0 commit comments