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

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

View File

@ -881,7 +881,8 @@ public class EditProfileActivity extends AbsActivity {
((TextView) findViewById(R.id.occupation)).setText(data.getInfo().getCareer());
String height = data.getInfo().getHeight();
if ("0".equals(height) || StringUtil.isEmpty(height)) {
height="170";
// 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();