修复帮助与反馈跳转到url问题

This commit is contained in:
Martin 2024-10-23 16:19:00 +08:00
parent 4b4954483b
commit d9f5c4040b

View File

@ -310,7 +310,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
user_noble_time.setText(u.getNoble_end_time()); user_noble_time.setText(u.getNoble_end_time());
} else { } else {
user_noble_text.setText(WordUtil.isNewZh() ? "貴族中心" : "VIP Center"); user_noble_text.setText(WordUtil.isNewZh() ? "貴族中心" : "VIP Center");
user_noble_time.setText(mContext.getResources().getString(R.string.open_noble_text)); user_noble_time.setText(mContext.getResources().getString(R.string.open_noble_text_new));
} }
String singnature = u.getSignature(); String singnature = u.getSignature();
if (TextUtils.equals(singnature, "這個人很懶,什麼也沒留下") || TextUtils.equals(singnature, "这家伙很懒,什么都没留下") || TextUtils.isEmpty(singnature)) { if (TextUtils.equals(singnature, "這個人很懶,什麼也沒留下") || TextUtils.equals(singnature, "这家伙很懒,什么都没留下") || TextUtils.isEmpty(singnature)) {
@ -445,7 +445,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
break; break;
case 26: case 26:
// 幫助與反饋 // 幫助與反饋
WebViewActivityMedal.forward(mContext, url); RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY);
break; break;
case 17: case 17:
@ -502,7 +502,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY); RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY);
}else if (bean.getId() == 26){ }else if (bean.getId() == 26){
// 幫助與反饋 // 幫助與反饋
WebViewActivity.forward(mContext, url, false); RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY);
} else } else
WebViewActivity.forward(mContext, url+"?1=1", false); WebViewActivity.forward(mContext, url+"?1=1", false);
} }