Fixed Personal title when coming back to the fragment
This commit is contained in:
parent
7b0856e903
commit
9651eba02c
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ public class MainActivity extends AppCompatActivity
|
||||||
ft.replace(R.id.fragment_container, gmapFragment);
|
ft.replace(R.id.fragment_container, gmapFragment);
|
||||||
ft.commit();
|
ft.commit();
|
||||||
} else if (id == R.id.nav_personal) {
|
} else if (id == R.id.nav_personal) {
|
||||||
|
toolbar.setTitle("Personal Notes");
|
||||||
|
setSupportActionBar(toolbar);
|
||||||
Log.d(TAG, "Before going to personal");
|
Log.d(TAG, "Before going to personal");
|
||||||
ft.replace(R.id.fragment_container, personalFragment);
|
ft.replace(R.id.fragment_container, personalFragment);
|
||||||
ft.commit();
|
ft.commit();
|
||||||
|
|
Loading…
Reference in a new issue