This commit is contained in:
zlzw 2024-01-24 10:45:07 +08:00
parent 0e596e9be9
commit 78d870ed89

View File

@ -122,7 +122,7 @@ public class BattlePassExchangeAdapter extends RecyclerView.Adapter<BattlePassEx
} }
topMoney.setText(String.valueOf(battlePassPoints.getSendGiftNeedcoin())); topMoney.setText(String.valueOf(battlePassPoints.getSendGiftNeedcoin()));
if (battlePassPoints.getSendGiftType() == 999) { if (battlePassPoints.getSendGiftType() == 999) {
topMoney.setText(String.format("%s%s", battlePassPoints.getRestrictTime(), WordUtil.isNewZh() ? "" : "Day")); topMoney.setText(String.format("%s%s", battlePassPoints.getRestrictTime(), WordUtil.isNewZh() ? "" : "Days"));
if (battlePassPoints.getRestrictTime() == 0) { if (battlePassPoints.getRestrictTime() == 0) {
topMoney.setText(WordUtil.isNewZh() ? "永久" : "Forever"); topMoney.setText(WordUtil.isNewZh() ? "永久" : "Forever");
} }