fix [身高未设置时,个人主页和名片 标签需要显示为空]
This commit is contained in:
parent
1d0500128b
commit
b3fe537b2c
@ -881,7 +881,8 @@ public class EditProfileActivity extends AbsActivity {
|
|||||||
((TextView) findViewById(R.id.occupation)).setText(data.getInfo().getCareer());
|
((TextView) findViewById(R.id.occupation)).setText(data.getInfo().getCareer());
|
||||||
String height = data.getInfo().getHeight();
|
String height = data.getInfo().getHeight();
|
||||||
if ("0".equals(height) || StringUtil.isEmpty(height)) {
|
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");
|
((TextView) findViewById(R.id.height)).setText(height + "cm");
|
||||||
List<String> tags = WordUtil.isNewZh() ? data.getInfo().getCn_label() : data.getInfo().getEn_label();
|
List<String> tags = WordUtil.isNewZh() ? data.getInfo().getCn_label() : data.getInfo().getEn_label();
|
||||||
|
Loading…
Reference in New Issue
Block a user