Skip to content

Commit

Permalink
drawer: show only server address
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Aug 20, 2019
1 parent cb7d4a3 commit caf1842
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/analysis/findbugs-results.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
412
413
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,8 @@ protected void setAccountInDrawer(Account account) {
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 {
Expand Down

0 comments on commit caf1842

Please sign in to comment.