Fix profile title (#541)

Fix profile
This commit is contained in:
M M Arif 2020-06-22 09:57:21 +02:00
parent 626746be8b
commit d2265aecae
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ public class MainActivity extends BaseActivity implements NavigationView.OnNavig
userAvatar.setOnClickListener(v -> { userAvatar.setOnClickListener(v -> {
toolbarTitle.setText(getResources().getString(R.string.pageTitleProfile));
getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container, new ProfileFragment()).commit(); getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container, new ProfileFragment()).commit();
drawer.closeDrawers(); drawer.closeDrawers();
}); });