File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
kotlin/com/simplemobiletools/filemanager/pro/activities Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ class MainActivity : SimpleActivity() {
172172 currentViewType == VIEW_TYPE_GRID && config.fileColumnCnt < MAX_COLUMN_COUNT && currentFragment !is StorageFragment
173173 findItem(R .id.reduce_column_count).isVisible = currentViewType == VIEW_TYPE_GRID && config.fileColumnCnt > 1 && currentFragment !is StorageFragment
174174
175+ findItem(R .id.more_apps_from_us).isVisible = ! resources.getBoolean(R .bool.hide_google_relations)
175176 findItem(R .id.settings).isVisible = ! isCreateDocumentIntent
176177 findItem(R .id.about).isVisible = ! isCreateDocumentIntent
177178 }
@@ -197,6 +198,7 @@ class MainActivity : SimpleActivity() {
197198 R .id.stop_showing_hidden -> tryToggleTemporarilyShowHidden()
198199 R .id.increase_column_count -> increaseColumnCount()
199200 R .id.reduce_column_count -> reduceColumnCount()
201+ R .id.more_apps_from_us -> launchMoreAppsFromUsIntent()
200202 R .id.settings -> launchSettings()
201203 R .id.about -> launchAbout()
202204 else -> return @setOnMenuItemClickListener false
Original file line number Diff line number Diff line change 6969 android : showAsAction =" never"
7070 android : title =" @string/reduce_column_count"
7171 app : showAsAction =" never" />
72+ <item
73+ android : id =" @+id/more_apps_from_us"
74+ android : showAsAction =" never"
75+ android : title =" @string/more_apps_from_us"
76+ app : showAsAction =" never" />
7277 <item
7378 android : id =" @+id/settings"
7479 android : icon =" @drawable/ic_settings_cog_vector"
You can’t perform that action at this time.
0 commit comments