fix [身高未设置时,个人主页和名片 标签需要显示为空]

This commit is contained in:
zlzw 2024-03-26 16:51:30 +08:00
parent 1d0500128b
commit b3fe537b2c

View File

@ -880,8 +880,9 @@ public class EditProfileActivity extends AbsActivity {
userInfoBean = data;
((TextView) findViewById(R.id.occupation)).setText(data.getInfo().getCareer());
String height = data.getInfo().getHeight();
if("0".equals(height)||StringUtil.isEmpty(height)){
height="170";
if ("0".equals(height) || StringUtil.isEmpty(height)) {
// height="170";
((TextView) findViewById(R.id.height)).setVisibility(View.GONE);
}
((TextView) findViewById(R.id.height)).setText(height + "cm");
List<String> tags = WordUtil.isNewZh() ? data.getInfo().getCn_label() : data.getInfo().getEn_label();