From 469211ce867d7fb9f0d60abe7a46a020d331a044 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 25 Aug 2023 14:26:03 +0800 Subject: [PATCH] style: change hide phone username to unknown --- .../src/main/java/org/telegram/ui/ProfileActivity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java index 62e328a5aa..32a464abb1 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java @@ -9819,8 +9819,6 @@ public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) { if (user != null && user.phone != null && user.phone.length() != 0) { value = PhoneFormat.getInstance().format("+" + user.phone); } - } else if (!TextUtils.isEmpty(user.username)) { - value = "@" + user.username; } detailCell.setTextAndValue(value, LocaleController.getString("TapToChangePhone", R.string.TapToChangePhone), true); detailCell.setContentDescriptionValueFirst(false);