mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
updating commons
This commit is contained in:
@ -209,7 +209,7 @@ class MainActivity : SimpleActivity() {
|
||||
R.id.export_all_notes -> tryExportAllNotes()
|
||||
R.id.print -> fragment?.handleUnlocking { printText() }
|
||||
R.id.delete_note -> fragment?.handleUnlocking { displayDeleteNotePrompt() }
|
||||
R.id.settings -> startActivity(Intent(applicationContext, SettingsActivity::class.java))
|
||||
R.id.settings -> launchSettings()
|
||||
R.id.about -> launchAbout()
|
||||
R.id.remove_done_items -> fragment?.handleUnlocking { removeDoneItems() }
|
||||
R.id.sort_checklist -> fragment?.handleUnlocking { displaySortChecklistDialog() }
|
||||
@ -596,6 +596,11 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchSettings() {
|
||||
hideKeyboard()
|
||||
startActivity(Intent(applicationContext, SettingsActivity::class.java))
|
||||
}
|
||||
|
||||
private fun launchAbout() {
|
||||
val licenses = LICENSE_RTL
|
||||
|
||||
|
Reference in New Issue
Block a user