do not trigger negativePressed in the advanced confirmation dialog
This commit is contained in:
parent
532ca0cb07
commit
c0a7aee4a7
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ class ConfirmationAdvancedDialog(
|
|||
|
||||
val builder = AlertDialog.Builder(activity)
|
||||
.setPositiveButton(positive) { dialog, which -> positivePressed() }
|
||||
.setOnCancelListener { negativePressed() }
|
||||
|
||||
if (negative != 0) {
|
||||
builder.setNegativeButton(negative) { dialog, which -> negativePressed() }
|
||||
|
|
Loading…
Reference in a new issue