提交战令英文版入口图标

修复测试反馈问题
移除测试点
This commit is contained in:
zlzw 2024-01-25 11:40:13 +08:00
parent 469e3e30ad
commit a4ce44d9ba
3 changed files with 5 additions and 3 deletions

View File

@ -248,7 +248,7 @@ public class CustomerServiceWebViewActivity extends AbsActivity {
finish(); finish();
return; return;
} }
ToastUtil.show("调用js userBackShowPraise"); //ToastUtil.showDebug("调用js userBackShowPraise");
mWebView.loadUrl("javascript:userBackShowPraise()"); mWebView.loadUrl("javascript:userBackShowPraise()");
} }

View File

@ -252,9 +252,10 @@ public class BattlePassRewardAdapter extends RecyclerView.Adapter<BattlePassRewa
getAllView(((reward, view) -> { getAllView(((reward, view) -> {
view.setText(String.valueOf(reward.getSendRewardNeedcoin())); view.setText(String.valueOf(reward.getSendRewardNeedcoin()));
if (reward.getSendGiftType() == 999) { if (reward.getSendGiftType() == 999) {
view.setText(reward.getSendRewardRestrictTime() + (WordUtil.isNewZh() ? "" : "Day")); view.setText(reward.getSendRewardRestrictTime() + (WordUtil.isNewZh() ? "" : "Days"));
if (reward.getSendRewardRestrictTime().equals("0")) { if (reward.getSendRewardRestrictTime().equals("0")) {
view.setText(WordUtil.isNewZh()?"永久":"Forever"); view.setText(WordUtil.isNewZh()?"永久":"Forever");
((View)view.getParent()).setVisibility(View.GONE);
} }
} }
}), tab1TopMoney, tab2TopMoney, tab3TopMoney); }), tab1TopMoney, tab2TopMoney, tab3TopMoney);
@ -343,6 +344,7 @@ public class BattlePassRewardAdapter extends RecyclerView.Adapter<BattlePassRewa
} }
private void showBuyType(boolean is) { private void showBuyType(boolean is) {
int id = is ? userType.getLive_battle_pass_type().get(1).getId() : userType.getLive_battle_pass_type().get(2).getId();
new XPopup.Builder(itemView.getContext()) new XPopup.Builder(itemView.getContext())
.enableDrag(false) .enableDrag(false)
.maxWidth(DeviceUtils.getScreenHeight((Activity) itemView.getContext()) - DpUtil.dp2px(34)) .maxWidth(DeviceUtils.getScreenHeight((Activity) itemView.getContext()) - DpUtil.dp2px(34))
@ -370,7 +372,7 @@ public class BattlePassRewardAdapter extends RecyclerView.Adapter<BattlePassRewa
Bus.get().post(new BattlePassTypeEvent(0)); Bus.get().post(new BattlePassTypeEvent(0));
} }
}, },
"2" String.valueOf(id)
)) ))
.show(); .show();
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB