From a1dbdeedf4b69062d8569e6d2ccbd8cfab9140bf Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 31 Aug 2022 18:42:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=96=93UI=E4=BF=AE=E6=94=B9,=E7=B2=89=E4=B8=9D?= =?UTF-8?q?=E5=9B=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/socket/SocketRyClient.java | 1 - live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java b/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java index b00c85be3..ae560eebc 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java @@ -178,7 +178,6 @@ public class SocketRyClient { } UserBean us = CommonAppConfig.getInstance().getUserBean(); if (map.getString("uid") != null && map.getString("uid").equals(us.getId())) { - LiveAudienceActivity.is_fans = "1"; int num = LiveAudienceActivity.fansNum + 1; LiveRoomViewHolder.setFansNum(num); } diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 01b0c7d4c..d7bba56d2 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -1416,6 +1416,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis mViewMedal.setVisibility(View.GONE); } else { if (mBtnFollow.getVisibility() == View.VISIBLE) { + LiveAudienceActivity.is_fans = "2"; mBtnFollow.setVisibility(View.GONE); mViewMedal.setVisibility(View.VISIBLE); }