From 1edb07d76ccd272832fbb5aecd04469e2666b89c Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 3 Jun 2023 11:45:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=95=E7=A5=A8=E4=B8=BB?= =?UTF-8?q?=E6=92=AD=E4=BA=8C=E6=AC=A1=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=90=8E=E7=9B=B4=E6=8E=A5=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=B5=AE=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/utils/LiveRoomVoteManager.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/utils/LiveRoomVoteManager.java b/live/src/main/java/com/yunbao/live/utils/LiveRoomVoteManager.java index 9579086a8..0ae3a72f3 100644 --- a/live/src/main/java/com/yunbao/live/utils/LiveRoomVoteManager.java +++ b/live/src/main/java/com/yunbao/live/utils/LiveRoomVoteManager.java @@ -71,6 +71,11 @@ public class LiveRoomVoteManager { } private void close() { + if(mClose.getTag()!=null){ + mClose.setTag(null); + hide(); + return; + } mTitle.setText(R.string.live_vote_close_title); mSubmit.setText(R.string.live_vote_close_yes); mCancel.setText(R.string.live_vote_close_no); @@ -131,7 +136,7 @@ public class LiveRoomVoteManager { ToastUtil.show(bean); return; } - mClose.setVisibility(View.INVISIBLE); + mClose.setTag(true); }); }