From fcf9bf396f2fc33099056d6f0af6f51ca028cd5e Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 5 Jun 2020 21:52:14 +0200 Subject: [PATCH] bugFix --- app/src/main/java/com/nordan/dialog/NordanAlertDialog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/nordan/dialog/NordanAlertDialog.java b/app/src/main/java/com/nordan/dialog/NordanAlertDialog.java index a486611..2d6e7b8 100644 --- a/app/src/main/java/com/nordan/dialog/NordanAlertDialog.java +++ b/app/src/main/java/com/nordan/dialog/NordanAlertDialog.java @@ -130,9 +130,10 @@ public Dialog build() { setLevelCompleteDialog(iconImg, view); break; default: - setCustomDialog(dialog, iconImg, view); break; } + } else { + setCustomDialog(dialog, iconImg, view); } if (positiveBtnText != null) { positiveButton.setText(positiveBtnText);