add[修復BUG]

This commit is contained in:
Martin 2024-06-17 17:21:18 +08:00
parent 313320473f
commit 0aeb2d32c2
2 changed files with 1 additions and 3 deletions

View File

@ -771,6 +771,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL
mLiveSwLinkMicPkPresenter.onLinkMicPkStart(pkUid, 1); mLiveSwLinkMicPkPresenter.onLinkMicPkStart(pkUid, 1);
pr = new pkRunnable(pkUid, pkhead, pkname, isLadders); pr = new pkRunnable(pkUid, pkhead, pkname, isLadders);
mHandler.postDelayed(pr, 4000);//3秒后执行Runnable中的run方法 mHandler.postDelayed(pr, 4000);//3秒后执行Runnable中的run方法
mLiveRoomViewHolder.initAnchorSay();
} }
} else { } else {
if (mLiveRyLinkMicPkPresenter != null && mLiveRoomViewHolder != null) { if (mLiveRyLinkMicPkPresenter != null && mLiveRoomViewHolder != null) {

View File

@ -1934,9 +1934,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
prank_top_layout.setOnClickListener(new View.OnClickListener() { prank_top_layout.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
if(mPrankType!=1){
return;
}
prank_group.setVisibility(View.GONE); prank_group.setVisibility(View.GONE);
prank_small_icon.setVisibility(View.VISIBLE); prank_small_icon.setVisibility(View.VISIBLE);
switchGifDrawable(!completedList.isEmpty()); switchGifDrawable(!completedList.isEmpty());