mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-25 13:00:31 +01:00
updating commons
This commit is contained in:
parent
eaa42cc715
commit
90ac0e9b67
@ -62,8 +62,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:7e0240b1e3'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:4d36cc84e9'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||||
|
|
||||||
kapt 'androidx.room:room-compiler:2.3.0'
|
kapt 'androidx.room:room-compiler:2.3.0'
|
||||||
|
@ -209,7 +209,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
R.id.export_all_notes -> tryExportAllNotes()
|
R.id.export_all_notes -> tryExportAllNotes()
|
||||||
R.id.print -> fragment?.handleUnlocking { printText() }
|
R.id.print -> fragment?.handleUnlocking { printText() }
|
||||||
R.id.delete_note -> fragment?.handleUnlocking { displayDeleteNotePrompt() }
|
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.about -> launchAbout()
|
||||||
R.id.remove_done_items -> fragment?.handleUnlocking { removeDoneItems() }
|
R.id.remove_done_items -> fragment?.handleUnlocking { removeDoneItems() }
|
||||||
R.id.sort_checklist -> fragment?.handleUnlocking { displaySortChecklistDialog() }
|
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() {
|
private fun launchAbout() {
|
||||||
val licenses = LICENSE_RTL
|
val licenses = LICENSE_RTL
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user