From d3268e57bc8c5af652b676602f5a8f9d6628423d Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 9 Feb 2023 16:21:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E7=9B=B4=E6=92=AD=E9=97=B4=E6=BB=91=E5=8A=A8=E4=BB=A5=E5=90=8E?= =?UTF-8?q?=E4=B8=BA=E4=BD=A0=E6=8E=A8=E8=8D=90=E6=97=A0=E6=B3=95=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E7=9B=B4=E6=92=AD=E9=97=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/activity/LiveAudienceActivity.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index aa96bdef8..cb93c9155 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -690,7 +690,7 @@ public class LiveAudienceActivity extends LiveActivity { @Subscribe(threadMode = ThreadMode.MAIN) public void onLiveRoomChangeEvent(LiveRoomChangeEvent e) { - if (verticalViewPager.ismEnableScroll()) { + LiveBean liveBean = e.getLiveBean(); if (e.isLiveEnd()) { manager.removeLiveEnd(); @@ -709,9 +709,7 @@ public class LiveAudienceActivity extends LiveActivity { mAncherIcon = liveBean.getAvatar(); manager.onAdd(liveBean, mLiveType, mLiveTypeVal, mLiveSDK); } - } else { - verticalViewPager.setEnableScroll(IMLoginManager.get(mContext).isSlide()); - } + } @Override