用户已经在房间不展示主播卡片

This commit is contained in:
huangjian
2022-09-01 10:24:01 +08:00
parent 9aef11ac9b
commit 5c1d403710

View File

@@ -315,7 +315,8 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
}
private void checkShowAnchorCardView() {
if (touchRunnable != null && !mResumed) return;
if (touchRunnable != null || !mResumed || AvRoomDataManager.get().mCurrentRoomInfo != null)
return;
int anchorCardViewType = DemoCache.readAnchorCardView();
if (anchorCardViewType == 2) {
if (CurrentTimeUtils.getCurrentTime() - DemoCache.readAnchorCardViewTime() > 15 * 60 * 1000) {