commit | bee3b80aed553baab35dd3358f869c4a4b4a5cc5 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Apr 06 17:18:41 2016 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Thu Apr 07 11:48:01 2016 +0200 |
tree | 4f08d84140946ea34a3c39c305fbeb5d039a6ffe | |
parent | b518d000f2c4b3ae81e57bab421ad43d91406469 [diff] |
ReviewChangesFragment: Set title Otherwise it shows the wrong title when coming to this fragment by using the back button. Change-Id: Ib2a3cb5d4be820fb31cf8f7064e3c140f16866e2 Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/app/src/main/java/com/google/reviewit/ReviewChangesFragment.java b/app/src/main/java/com/google/reviewit/ReviewChangesFragment.java index 18d8281..6e92452 100644 --- a/app/src/main/java/com/google/reviewit/ReviewChangesFragment.java +++ b/app/src/main/java/com/google/reviewit/ReviewChangesFragment.java
@@ -55,6 +55,8 @@ public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); + setTitle(getString(R.string.app_menu_review)); + setHasOptionsMenu(true); TaskObserver.enableProgressBar(getWindow());