修复PK结束时会隐藏投票问题

This commit is contained in:
zlzw 2023-06-08 11:13:38 +08:00
parent f4016089a1
commit 8d077e8062

View File

@ -1486,7 +1486,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
msgLayout.setVisibility(View.VISIBLE); msgLayout.setVisibility(View.VISIBLE);
} }
AppManager.runDebugCode(() -> msgLayout.setVisibility(View.GONE)); AppManager.runDebugCode(() -> msgLayout.setVisibility(View.GONE));
voteManager.hide();
if (d_pk_view != null) { if (d_pk_view != null) {
d_pk_view.setVisibility(View.GONE); d_pk_view.setVisibility(View.GONE);
} }
@ -4650,6 +4649,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
mHandler.removeMessages(WHAT_PK_TIME); mHandler.removeMessages(WHAT_PK_TIME);
} }
isShowGif = false; isShowGif = false;
if(voteManager!=null){
voteManager.hide();
}
} }
/** /**