周星榜数量修改
This commit is contained in:
@@ -2800,7 +2800,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
|
||||
//是否是主播
|
||||
private boolean isAnchorLive() {
|
||||
public boolean isAnchorLive() {
|
||||
return mContext instanceof LiveRyAnchorActivity || mContext instanceof LiveSwAnchorActivity;
|
||||
}
|
||||
|
||||
|
||||
@@ -864,7 +864,12 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
//红包相关
|
||||
mLiveRoomViewHolder.setRedPackBtnVisible(Integer.parseInt(data.getEnterRoomInfo().getIsred()) == 1);
|
||||
//礼物墙相关
|
||||
mLiveRoomViewHolder.setGiftWall(data.getEnterRoomInfo().getGiftWallLightenNumber(), data.getEnterRoomInfo().getGiftWallLightenTotal());
|
||||
if(mLiveRoomViewHolder.isAnchorLive()){
|
||||
mLiveRoomViewHolder.setGiftWall(data.getEnterRoomInfo().getGiftWallLightenNumber(), data.getEnterRoomInfo().getGiftWallLightenTotal());
|
||||
}else {
|
||||
mLiveRoomViewHolder.setGiftWall(data.getEnterRoomInfo().getWeekStarGiftNum(), data.getEnterRoomInfo().getWeekGiftIlluminateNum());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//奖池等级
|
||||
|
||||
Reference in New Issue
Block a user