@@ -186,7 +186,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
186186 // Handle item selection
187187 switch (item .getItemId ()) {
188188 case R .id .archived :
189- if (item .getTitle ().equals (getString (R .string .menu_option_archived ))) {
189+ if (item .getTitle ().equals (getString (R .string .menu_option_read ))) {
190190 NotificationActivity .startYourself (NotificationActivity .this , "read" );
191191 }else if (item .getTitle ().equals (getString (R .string .menu_option_unread ))) {
192192 onBackPressed ();
@@ -252,7 +252,7 @@ public static void startYourself(Context context, String title) {
252252 private void setPageTitle () {
253253 if (getSupportActionBar () != null ) {
254254 if (getIntent ().getStringExtra ("title" ).equals ("read" )) {
255- getSupportActionBar ().setTitle (R .string .archived_notifications );
255+ getSupportActionBar ().setTitle (R .string .read_notifications );
256256 } else {
257257 getSupportActionBar ().setTitle (R .string .notifications );
258258 }
@@ -261,7 +261,7 @@ private void setPageTitle() {
261261
262262 private void setEmptyView () {
263263 if (getIntent ().getStringExtra ("title" ).equals ("read" )) {
264- noNotificationText .setText (R .string .no_archived_notification );
264+ noNotificationText .setText (R .string .no_read_notification );
265265 }else {
266266 noNotificationText .setText (R .string .no_notification );
267267 }
@@ -272,7 +272,7 @@ private void setMenuItemTitle() {
272272 notificationMenuItem .setTitle (R .string .menu_option_unread );
273273
274274 }else {
275- notificationMenuItem .setTitle (R .string .menu_option_archived );
275+ notificationMenuItem .setTitle (R .string .menu_option_read );
276276
277277 }
278278 }
0 commit comments