修改测试问题

This commit is contained in:
18401019693
2023-11-13 14:24:07 +08:00
parent b7842d5ac9
commit 076f7130c8
6 changed files with 98 additions and 29 deletions

View File

@@ -119,6 +119,7 @@ public class CreateSudGamePopup extends BottomPopupView {
roomName = findViewById(R.id.room_name);
gameSill = findViewById(R.id.game_sill);
roomGameArrow = findViewById(R.id.room_game_arrow);
gameSill.setHint(WordUtil.isNewZh() ? "請輸入貨幣數量" : "Please enter the amount of currency");
ViewClicksAntiShake.clicksAntiShake(createGameType, new ViewClicksAntiShake.ViewClicksCallBack() {
@Override
public void onViewClicks() {
@@ -199,17 +200,18 @@ public class CreateSudGamePopup extends BottomPopupView {
if (TextUtils.isEmpty(sill)) {
if (TextUtils.equals(currencyType, "3")) {
if (IMLoginManager.get(getContext()).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
ToastUtil.show("数量区间为10~1000");
} else {
ToastUtil.show("The quantity range is 10 to 1000");
}
} else {
if (IMLoginManager.get(getContext()).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
ToastUtil.show("数量区间为100--5W");
} else {
ToastUtil.show("The quantity range is 100 to 5 W");
}
} else {
if (IMLoginManager.get(getContext()).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
ToastUtil.show("数量区间为10~1000");
} else {
ToastUtil.show("The quantity range is 10 to 1000");
}
}
return;
@@ -357,9 +359,9 @@ public class CreateSudGamePopup extends BottomPopupView {
currencyType = event.getCurrencyType();
selectCurrencyType.setText(currencyTypeName);
if (TextUtils.equals(currencyType, "3")) {
gameSill.setHint(getContext().getString(R.string.interactive_game_create_gold_bean_quantity));
gameSill.setHint(WordUtil.isNewZh() ? "請輸入貨幣數量" : "Please enter the amount of currency");
} else {
gameSill.setHint(WordUtil.isNewZh() ? "選擇星幣數量" : "Please enter the number of Coins");
gameSill.setHint(WordUtil.isNewZh() ? "輸入貨幣數量" : "Please enter the amount of currency");
}
}
}