From 34ddb61aa12aa0f377bf9e951faca0d75a9cc81b Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Wed, 23 Oct 2024 16:19:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yunbao/main/activity/LoginActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java index 741954eaa..f50dff2fa 100644 --- a/main/src/main/java/com/yunbao/main/activity/LoginActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/LoginActivity.java @@ -321,7 +321,9 @@ public class LoginActivity extends AbsActivity { } else { MainActivity.forward(LoginActivity.this, false); } - loadingDialog.dismiss(); + if(loadingDialog!=null){ + loadingDialog.dismiss(); + } finish(); }