From b1e15325785683eb699c9bbc728bd8d2ff19771c Mon Sep 17 00:00:00 2001 From: liujing Date: Sun, 26 Sep 2021 22:16:20 +0800 Subject: [PATCH] no message --- .../com/mogo/eagle/core/function/check/view/CheckDialog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java index 7972e22fd7..cb597417dd 100644 --- a/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java +++ b/core/function-impl/mogo-core-function-check/src/main/java/com/mogo/eagle/core/function/check/view/CheckDialog.java @@ -45,7 +45,9 @@ public class CheckDialog extends BaseFloatDialog { checkDetail = findViewById(R.id.check_detail); checkDetail.setOnClickListener(v -> { cancel(); - CallerCheckManager.startCheckActivity(mContext); + if (mContext != null) { + CallerCheckManager.startCheckActivity(mContext); + } }); //根据条件显示体检页面/风险提示