From 6198489dd4f3eae0d0aa3e024c8c3a32496ee5a0 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Mon, 19 Dec 2022 16:05:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E7=9A=84=E7=A9=BA=E6=8C=87=E9=92=88=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/dialog/LiveFansFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveFansFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveFansFragment.java index 513c094ce..413d80a7e 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveFansFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveFansFragment.java @@ -124,7 +124,7 @@ public class LiveFansFragment extends AbsDialogFragment { ToastUtil.show("退出成功"); dismiss(); } else if (TextUtils.equals(event.getMethod(), "sendFansCard")) { - if (LiveRoomViewHolder.mBtnFollow.getVisibility() == View.VISIBLE) { + if (LiveRoomViewHolder.mBtnFollow != null && LiveRoomViewHolder.mBtnFollow.getVisibility() == View.VISIBLE) { LiveRoomViewHolder.follow(); } //点击 开通粉丝勋章,打开礼物列表送礼物