From 85ccbcccae6e83892720a75e0aff85a7685bd218 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Fri, 5 Jan 2024 14:44:28 +0800 Subject: [PATCH] =?UTF-8?q?xiugai=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/activity/LiveAudienceActivity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index 2bfd738cd..e36ded9ed 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -824,7 +824,10 @@ public class LiveAudienceActivity extends LiveActivity { if (manager != null && !StringUtil.isEmpty(is_fans)) { if (is_fans.equals("-2")) { manager.setAttention(0); - mLiveRoomViewHolder.setFansGroup("0"); + if (mLiveRoomViewHolder!=null){ + mLiveRoomViewHolder.setFansGroup("0"); + } + is_fans = "2"; } }