From b3fe537b2ce50b8c35afeb2744a10957bb1f84b0 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 26 Mar 2024 16:51:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E8=BA=AB=E9=AB=98=E6=9C=AA=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=97=B6=EF=BC=8C=E4=B8=AA=E4=BA=BA=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E5=92=8C=E5=90=8D=E7=89=87=20=20=E6=A0=87=E7=AD=BE=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E6=98=BE=E7=A4=BA=E4=B8=BA=E7=A9=BA]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/main/activity/EditProfileActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java b/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java index d600937f5..9773cb423 100644 --- a/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/EditProfileActivity.java @@ -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 tags = WordUtil.isNewZh() ? data.getInfo().getCn_label() : data.getInfo().getEn_label();