mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Made layout actually look good. Hopefully fixed codeacities complaints.
This commit is contained in:
parent
06efa26f5e
commit
1622f67a4b
2 changed files with 13 additions and 11 deletions
|
|
@ -49,7 +49,8 @@ public class NavigationBaseActivity extends BaseActivity
|
|||
public void initDrawer() {
|
||||
navigationView.setNavigationItemSelectedListener(this);
|
||||
username = CommonsApplication.getInstance().getCurrentAccount().name;
|
||||
usernameTextView = ((TextView) navigationView.getHeaderView(0).findViewById(R.id.userNameText));
|
||||
usernameTextView = ((TextView) navigationView.getHeaderView(0)
|
||||
.findViewById(R.id.userNameText));
|
||||
usernameTextView.setText(username != null ? username : "");
|
||||
|
||||
setSupportActionBar(toolbar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue