diff --git a/app/src/main/java/in/andres/kandroid/ui/MainActivity.java b/app/src/main/java/in/andres/kandroid/ui/MainActivity.java index cb7e8a4..1c39f10 100644 --- a/app/src/main/java/in/andres/kandroid/ui/MainActivity.java +++ b/app/src/main/java/in/andres/kandroid/ui/MainActivity.java @@ -144,6 +144,7 @@ public void onGetMe(boolean success, KanboardUserInfo result) { boolean prog = !showProgress(false); if (success) { Me = result; + ((TextView) findViewById(R.id.nav_serverurl)).setText(Me.getName()); if (prog) { if (mode == 0) combineDashboard(); @@ -328,9 +329,9 @@ public void onClick(View view) { ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close) { public void onDrawerOpened(View drawerView) { - TextView mServerUrl = (TextView) findViewById(R.id.nav_serverurl); - if ((Me != null) && (mServerUrl != null)) - mServerUrl.setText(Me.getName()); +// TextView mServerUrl = (TextView) findViewById(R.id.nav_serverurl); +// if ((Me != null) && (mServerUrl != null)) +// mServerUrl.setText(Me.getName()); } }; drawer.addDrawerListener(toggle);