mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
negativeButtonTextが指定されていない場合の既定値を追加
This commit is contained in:
parent
78d4345313
commit
7ef75bb375
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user