diff --git a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectRevDialog.java b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectRevDialog.java index 208bfa28..c3650eb3 100644 --- a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectRevDialog.java +++ b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectRevDialog.java @@ -100,7 +100,7 @@ public class LacertaSelectRevDialog extends DialogFragment { builder.setTitle(title == null ? "Select Rev" : title); builder.setMessage(message == null ? "Select Rev" : message); - builder.setNegativeButton(negativeButtonText, (dialog, which) -> { + builder.setNegativeButton(negativeButtonText == null ? "Cancel" : negativeButtonText, (dialog, which) -> { if (listener != null) { listener.onDialogCanceled(); dismiss();