调整回#1eb43fb8逻辑,不管单人还是多人PK都显示排位赛信息

This commit is contained in:
zlzw 2024-05-14 18:07:37 +08:00
parent 0ff0cb52f6
commit 92d1861d8f

View File

@ -691,6 +691,11 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
} else if (pkInfo != null && pkInfo.getIntValue("drpk_status") == 1) {
if (mLiveRoomViewHolder != null) {
mLiveRoomViewHolder.initPkRank(null);
String pkUid = pkInfo.getString("pkuid");
if (!StringUtil.isEmpty(pkUid)) {
//初始化天梯赛信息
mLiveRoomViewHolder.initRankPKInfo(String.valueOf(data.getLiveInfo().getUid()), pkUid);
}
}
if (mLivePlayViewHolder != null) {
mLivePlayViewHolder.setViewUP(4);