drawer: show only server address

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-08-20 11:49:25 +02:00
parent cb7d4a38a2
commit caf1842f4f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
412
413

View file

@ -783,7 +783,8 @@ public abstract class DrawerActivity extends ToolbarActivity
TextView username = (TextView) findNavigationViewChildById(R.id.drawer_username);
TextView usernameFull = (TextView) findNavigationViewChildById(R.id.drawer_username_full);
usernameFull.setText(DisplayUtils.getAccountNameDisplayText(this, account, account.name, account.name));
usernameFull.setText(DisplayUtils.convertIdn(account.name.substring(account.name.lastIndexOf('@') + 1),
false));
usernameFull.setTextColor(ThemeUtils.fontColor(this));
try {