修复:
直播間UI修改,粉丝团问题
This commit is contained in:
parent
4dd41528aa
commit
a1dbdeedf4
@ -178,7 +178,6 @@ public class SocketRyClient {
|
|||||||
}
|
}
|
||||||
UserBean us = CommonAppConfig.getInstance().getUserBean();
|
UserBean us = CommonAppConfig.getInstance().getUserBean();
|
||||||
if (map.getString("uid") != null && map.getString("uid").equals(us.getId())) {
|
if (map.getString("uid") != null && map.getString("uid").equals(us.getId())) {
|
||||||
LiveAudienceActivity.is_fans = "1";
|
|
||||||
int num = LiveAudienceActivity.fansNum + 1;
|
int num = LiveAudienceActivity.fansNum + 1;
|
||||||
LiveRoomViewHolder.setFansNum(num);
|
LiveRoomViewHolder.setFansNum(num);
|
||||||
}
|
}
|
||||||
|
@ -1416,6 +1416,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
mViewMedal.setVisibility(View.GONE);
|
mViewMedal.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
if (mBtnFollow.getVisibility() == View.VISIBLE) {
|
if (mBtnFollow.getVisibility() == View.VISIBLE) {
|
||||||
|
LiveAudienceActivity.is_fans = "2";
|
||||||
mBtnFollow.setVisibility(View.GONE);
|
mBtnFollow.setVisibility(View.GONE);
|
||||||
mViewMedal.setVisibility(View.VISIBLE);
|
mViewMedal.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user