From 0aeb2d32c2c584b7ddd3f72192ebd55ba039d7e5 Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Mon, 17 Jun 2024 17:21:18 +0800 Subject: [PATCH] =?UTF-8?q?add[=E4=BF=AE=E5=BE=A9BUG]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/activity/LiveActivity.java | 1 + .../main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java index 93d0aff7a..60d1475d8 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java @@ -771,6 +771,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL mLiveSwLinkMicPkPresenter.onLinkMicPkStart(pkUid, 1); pr = new pkRunnable(pkUid, pkhead, pkname, isLadders); mHandler.postDelayed(pr, 4000);//3秒后执行Runnable中的run方法 + mLiveRoomViewHolder.initAnchorSay(); } } else { if (mLiveRyLinkMicPkPresenter != null && mLiveRoomViewHolder != null) { diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 4c0ba4014..18db6b1e2 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -1934,9 +1934,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis prank_top_layout.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - if(mPrankType!=1){ - return; - } prank_group.setVisibility(View.GONE); prank_small_icon.setVisibility(View.VISIBLE); switchGifDrawable(!completedList.isEmpty());