File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
fastdialog/src/main/java/karpuzoglu/enes/com/fastdialog Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,12 @@ private FastDialogBuilder createDialog(Type type){
114
114
btCancel .setOnClickListener (v -> {
115
115
if (negativeClick != null )
116
116
negativeClick .onClick (v );
117
- dialog .dismiss ();
117
+ else dialog .dismiss ();
118
118
});
119
119
btOk .setOnClickListener (v -> {
120
120
if (positiveClick != null )
121
121
positiveClick .onClick (v );
122
- dialog .dismiss ();
122
+ else dialog .dismiss ();
123
123
});
124
124
btOk .setBackground (getShape ());
125
125
btCancel .setBackground (getShape ());
@@ -136,12 +136,12 @@ private FastDialogBuilder createDialog(Type type){
136
136
btCancel .setOnClickListener (v -> {
137
137
if (negativeClick != null )
138
138
negativeClick .onClick (v );
139
- dialog .dismiss ();
139
+ else dialog .dismiss ();
140
140
});
141
141
btOk .setOnClickListener (v -> {
142
142
if (positiveClick != null )
143
143
positiveClick .onClick (v );
144
- dialog .dismiss ();
144
+ else dialog .dismiss ();
145
145
});
146
146
btOk .setBackground (getShape ());
147
147
btCancel .setBackground (getShape ());
You can’t perform that action at this time.
0 commit comments