fix: user username profile

This commit is contained in:
xtaodada 2022-12-31 16:09:42 +08:00
parent e7f46fb844
commit 12fc30716b
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -7135,7 +7135,7 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter.
boolean hasPhone = user != null && (!TextUtils.isEmpty(user.phone) || !TextUtils.isEmpty(vcardPhone));
infoHeaderRow = rowCount++;
if (user != null && !TextUtils.isEmpty(user.username)) {
if (username != null) {
usernameRow = rowCount++;
}
if (user != null && !user.restriction_reason.isEmpty()) {