From 14f0de093e4ea7c6e2b89b88823c44dff3a1d2ad Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Mon, 16 Oct 2023 18:23:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AD=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/common/sud/QuickStartGameViewModel.java | 4 ++-- .../java/com/yunbao/live/activity/LiveRyAnchorActivity.java | 4 ++++ live/src/main/res/layout/view_live_end.xml | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/sud/QuickStartGameViewModel.java b/common/src/main/java/com/yunbao/common/sud/QuickStartGameViewModel.java index 92b980804..d0dd12dc1 100644 --- a/common/src/main/java/com/yunbao/common/sud/QuickStartGameViewModel.java +++ b/common/src/main/java/com/yunbao/common/sud/QuickStartGameViewModel.java @@ -6,6 +6,7 @@ import android.view.View; import androidx.lifecycle.MutableLiveData; +import com.yunbao.common.CommonAppConfig; import com.yunbao.common.CommonAppContext; import com.yunbao.common.bean.SudgameCodeModel; import com.yunbao.common.http.base.HttpCallback; @@ -40,7 +41,6 @@ public class QuickStartGameViewModel extends BaseGameViewModel { /** * true 加载游戏时为测试环境 false 加载游戏时为生产环境 */ - public static final boolean GAME_IS_TEST_ENV = true; /** * 使用的UserId。这里随机生成作演示,开发者将其修改为业务使用的唯一userId @@ -208,7 +208,7 @@ public class QuickStartGameViewModel extends BaseGameViewModel { */ @Override protected boolean isTestEnv() { - return GAME_IS_TEST_ENV; + return CommonAppConfig.HOST.contains("ceshi"); } /** diff --git a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java index ae7caa662..36ed82066 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java @@ -1621,6 +1621,10 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl if (mLiveRyLinkMicPkPresenter != null) { mLiveRyLinkMicPkPresenter.leaveDRRoom(); } + if (mLiveRoomViewHolder != null) { + mLiveRoomViewHolder.seisShowGif(true); + mLiveRoomViewHolder.endDRGif(); + } // if (mLiveRoomViewHolder != null) { // mLiveRoomViewHolder.hotAddVisibility(false); // } diff --git a/live/src/main/res/layout/view_live_end.xml b/live/src/main/res/layout/view_live_end.xml index 9b7351f4b..54df889f3 100644 --- a/live/src/main/res/layout/view_live_end.xml +++ b/live/src/main/res/layout/view_live_end.xml @@ -300,8 +300,8 @@