mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Merge pull request #4355 from nextcloud/drawer
drawer: show only server address
This commit is contained in:
commit
259e106308
2 changed files with 3 additions and 2 deletions
|
@ -1 +1 @@
|
|||
412
|
||||
413
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue