修复:

直播間UI修改,粉丝团问题
This commit is contained in:
18401019693 2022-08-31 18:42:14 +08:00
parent 4dd41528aa
commit a1dbdeedf4
2 changed files with 1 additions and 1 deletions

View File

@ -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);
}

View File

@ -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);
}