修改游戏的new图标展示,网页中英文检测

This commit is contained in:
18401019693
2023-10-07 11:21:03 +08:00
parent cf169e9a4e
commit b2ee091c03
8 changed files with 30 additions and 23 deletions

View File

@@ -38,6 +38,7 @@ import com.yunbao.common.http.live.LiveNetManager;
import com.yunbao.common.interfaces.OnItemClickListener;
import com.yunbao.common.manager.IMLoginManager;
import com.yunbao.common.utils.Bus;
import com.yunbao.common.utils.ToastUtil;
import com.yunbao.common.views.weight.ViewClicksAntiShake;
import com.yunbao.main.R;
@@ -159,7 +160,11 @@ public class MainHomeGameViewHolder extends AbsMainHomeChildViewHolder implement
@Override
public void onError(String error) {
if (IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
ToastUtil.show("当前没有可加入的房间");
} else {
ToastUtil.show("There are currently no rooms to join");
}
}
});
// List<SudRoomListModel> sudRoomListModels = sudGameListAdapter.getList();

View File

@@ -75,12 +75,12 @@
<TextView
android:id="@+id/game_title"
android:layout_width="35dp"
android:layout_width="40dp"
android:layout_height="wrap_content"
android:layout_marginStart="6dp"
android:ellipsize="end"
android:singleLine="true"
android:text="@string/interactive_game_room_game_all"
android:text="@string/interactive_game_create_unlimited"
android:textColor="#000"
android:textSize="11sp" />