update commons to 3.0.23

This commit is contained in:
tibbi 2017-12-02 20:21:48 +01:00
parent af45085170
commit e834a06467
2 changed files with 32 additions and 31 deletions

View File

@ -45,7 +45,7 @@ ext {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:3.0.21' implementation 'com.simplemobiletools:commons:3.0.23'
implementation 'com.facebook.stetho:stetho:1.5.0' implementation 'com.facebook.stetho:stetho:1.5.0'
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"

View File

@ -22,7 +22,7 @@ class RenameNoteDialog(val activity: SimpleActivity, val db: DBHelper, val note:
.setNegativeButton(R.string.cancel, null) .setNegativeButton(R.string.cancel, null)
.create().apply { .create().apply {
window!!.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE) window!!.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
activity.setupDialogStuff(view, this, R.string.rename_note) activity.setupDialogStuff(view, this, R.string.rename_note) {
getButton(BUTTON_POSITIVE).setOnClickListener { getButton(BUTTON_POSITIVE).setOnClickListener {
val title = view.note_name.value val title = view.note_name.value
when { when {
@ -62,4 +62,5 @@ class RenameNoteDialog(val activity: SimpleActivity, val db: DBHelper, val note:
} }
} }
} }
}
} }