调整投票主播二次点击关闭按钮后直接关闭浮窗

This commit is contained in:
zlzw 2023-06-03 11:45:23 +08:00
parent 9641d90f32
commit 1edb07d76c

View File

@ -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);
});
}