We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769e30a commit cde9d08Copy full SHA for cde9d08
1 file changed
app/src/main/kotlin/org/fossify/notes/dialogs/NewChecklistItemDialog.kt
@@ -45,12 +45,8 @@ class NewChecklistItemDialog(
45
.setPositiveButton(org.fossify.commons.R.string.ok, null)
46
.setNegativeButton(org.fossify.commons.R.string.cancel, null)
47
.apply {
48
- activity.setupDialogStuff(
49
- view = view,
50
- dialog = this,
51
- titleId = R.string.add_new_checklist_items,
52
- cancelOnTouchOutside = false
53
- ) { alertDialog ->
+ activity.setupDialogStuff(view, this, R.string.add_new_checklist_items) { alertDialog ->
+ alertDialog.setCanceledOnTouchOutside(false)
54
alertDialog.showKeyboard(titles.first())
55
alertDialog.getButton(BUTTON_POSITIVE).setOnClickListener {
56
activity.config.addNewChecklistItemsTop = binding.settingsAddChecklistTop.isChecked
0 commit comments