From 7b2c3e9df641ad08a174c8c43365565ea3f29e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E4=BA=9A=E4=B8=9C?= Date: Wed, 17 May 2023 21:44:58 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=89=88=E6=9C=AC]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EaseDialogModule/build.gradle | 2 +- app/build.gradle | 4 ++-- app/src/main/java/com/night/easedialog/MainActivity.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EaseDialogModule/build.gradle b/EaseDialogModule/build.gradle index 3f40e97..4468d42 100644 --- a/EaseDialogModule/build.gradle +++ b/EaseDialogModule/build.gradle @@ -16,7 +16,7 @@ afterEvaluate { from components.release groupId = 'com.night.dialog' artifactId = 'EaseDialogModule' - version ="1.0.4" + version ="1.0.5" } } } diff --git a/app/build.gradle b/app/build.gradle index d2f667f..6ae9617 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { applicationId "com.night.easedialog" minSdk 23 targetSdk 33 - versionCode 4 - versionName "1.0.4" + versionCode 5 + versionName "1.0.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/night/easedialog/MainActivity.kt b/app/src/main/java/com/night/easedialog/MainActivity.kt index a4d18a2..ac1f853 100644 --- a/app/src/main/java/com/night/easedialog/MainActivity.kt +++ b/app/src/main/java/com/night/easedialog/MainActivity.kt @@ -183,7 +183,7 @@ class MainActivity : AppCompatActivity() { val mLoading = DialogTools.getDialogBuilder() .toLoadingDialog(this, "3秒...") Handler(Looper.getMainLooper()).postDelayed({ - mLoading.dismiss() + DialogTools.dismissLoadingDialog(this) },3000) }