diff --git a/README.md b/README.md index 73044f2..2a92c80 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ The simplest way to use Sweetalert is to add the library as aar dependency to yo com.github.taimoorsultani android-sweetalert2 - 2.0.0 + 2.0.1 **Gradle** @@ -73,7 +73,7 @@ The simplest way to use Sweetalert is to add the library as aar dependency to yo } dependencies { - implementation 'com.github.taimoorsultani:android-sweetalert2:2.0.0' + implementation 'com.github.taimoorsultani:android-sweetalert2:2.0.1' } ## Usage diff --git a/sweetalert2/build.gradle b/sweetalert2/build.gradle index 69bdd15..96b32bd 100644 --- a/sweetalert2/build.gradle +++ b/sweetalert2/build.gradle @@ -9,8 +9,8 @@ android { defaultConfig { minSdkVersion 21 targetSdkVersion 30 - versionCode 5 - versionName "2.0.0" + versionCode 6 + versionName "2.0.1" } buildTypes { diff --git a/sweetalert2/src/main/java/taimoor/sultani/sweetalert2/Sweetalert.java b/sweetalert2/src/main/java/taimoor/sultani/sweetalert2/Sweetalert.java index 2963613..3807616 100644 --- a/sweetalert2/src/main/java/taimoor/sultani/sweetalert2/Sweetalert.java +++ b/sweetalert2/src/main/java/taimoor/sultani/sweetalert2/Sweetalert.java @@ -282,6 +282,7 @@ private void changeAlertType(int alertType, boolean fromCreate) { case PROGRESS_TYPE: mProgressFrame.setVisibility(View.VISIBLE); mConfirmButton.setVisibility(View.GONE); + mCancelButton.setVisibility(View.GONE); break; } adjustButtonContainerVisibility();