File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
kotlin/com/simplemobiletools/notes/pro/activities Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ class MainActivity : SimpleActivity() {
181181 findItem(R .id.import_notes).isVisible = isQPlus()
182182 findItem(R .id.lock_note).isVisible = mNotes.isNotEmpty() && (::mCurrentNote.isInitialized && ! mCurrentNote.isLocked())
183183 findItem(R .id.unlock_note).isVisible = mNotes.isNotEmpty() && (::mCurrentNote.isInitialized && mCurrentNote.isLocked())
184+ findItem(R .id.more_apps_from_us).isVisible = ! resources.getBoolean(R .bool.hide_google_relations)
184185
185186 saveNoteButton = findItem(R .id.save_note)
186187 saveNoteButton!! .isVisible =
@@ -216,6 +217,7 @@ class MainActivity : SimpleActivity() {
216217 R .id.import_notes -> tryImportNotes()
217218 R .id.print -> fragment?.handleUnlocking { printText() }
218219 R .id.delete_note -> fragment?.handleUnlocking { displayDeleteNotePrompt() }
220+ R .id.more_apps_from_us -> launchMoreAppsFromUsIntent()
219221 R .id.settings -> launchSettings()
220222 R .id.about -> launchAbout()
221223 R .id.remove_done_items -> fragment?.handleUnlocking { removeDoneItems() }
Original file line number Diff line number Diff line change 2929 <item
3030 android : id =" @+id/new_note"
3131 android : icon =" @drawable/ic_plus_vector"
32- android : title =" @string/new_note "
32+ android : title =" @string/create_new_note "
3333 app : showAsAction =" ifRoom" />
3434 <item
3535 android : id =" @+id/rename_note"
9191 android : icon =" @drawable/ic_delete_vector"
9292 android : title =" @string/delete_note"
9393 app : showAsAction =" ifRoom" />
94+ <item
95+ android : id =" @+id/more_apps_from_us"
96+ android : icon =" @drawable/ic_google_play_vector"
97+ android : title =" @string/more_apps_from_us"
98+ app : showAsAction =" ifRoom" />
9499 <item
95100 android : id =" @+id/settings"
96101 android : icon =" @drawable/ic_settings_cog_vector"
You can’t perform that action at this time.
0 commit comments