修改中英文

This commit is contained in:
18401019693 2023-10-16 18:23:59 +08:00
parent 51457738d2
commit 14f0de093e
3 changed files with 8 additions and 4 deletions

View File

@ -6,6 +6,7 @@ import android.view.View;
import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.MutableLiveData;
import com.yunbao.common.CommonAppConfig;
import com.yunbao.common.CommonAppContext; import com.yunbao.common.CommonAppContext;
import com.yunbao.common.bean.SudgameCodeModel; import com.yunbao.common.bean.SudgameCodeModel;
import com.yunbao.common.http.base.HttpCallback; import com.yunbao.common.http.base.HttpCallback;
@ -40,7 +41,6 @@ public class QuickStartGameViewModel extends BaseGameViewModel {
/** /**
* true 加载游戏时为测试环境 false 加载游戏时为生产环境 * true 加载游戏时为测试环境 false 加载游戏时为生产环境
*/ */
public static final boolean GAME_IS_TEST_ENV = true;
/** /**
* 使用的UserId这里随机生成作演示开发者将其修改为业务使用的唯一userId * 使用的UserId这里随机生成作演示开发者将其修改为业务使用的唯一userId
@ -208,7 +208,7 @@ public class QuickStartGameViewModel extends BaseGameViewModel {
*/ */
@Override @Override
protected boolean isTestEnv() { protected boolean isTestEnv() {
return GAME_IS_TEST_ENV; return CommonAppConfig.HOST.contains("ceshi");
} }
/** /**

View File

@ -1621,6 +1621,10 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
if (mLiveRyLinkMicPkPresenter != null) { if (mLiveRyLinkMicPkPresenter != null) {
mLiveRyLinkMicPkPresenter.leaveDRRoom(); mLiveRyLinkMicPkPresenter.leaveDRRoom();
} }
if (mLiveRoomViewHolder != null) {
mLiveRoomViewHolder.seisShowGif(true);
mLiveRoomViewHolder.endDRGif();
}
// if (mLiveRoomViewHolder != null) { // if (mLiveRoomViewHolder != null) {
// mLiveRoomViewHolder.hotAddVisibility(false); // mLiveRoomViewHolder.hotAddVisibility(false);
// } // }

View File

@ -300,8 +300,8 @@
<ImageView <ImageView
android:id="@+id/change_batch_user" android:id="@+id/change_batch_user"
android:layout_width="wrap_content" android:layout_width="90dp"
android:layout_height="wrap_content" android:layout_height="30dp"
android:layout_gravity="center_vertical|right" android:layout_gravity="center_vertical|right"
android:background="@mipmap/icon_cange" /> android:background="@mipmap/icon_cange" />