From 698ca53a6ecffc05d81e229cab4b8f572ba2e220 Mon Sep 17 00:00:00 2001 From: Moez Bhatti Date: Thu, 17 Sep 2015 22:54:41 -0400 Subject: [PATCH] Show better titles in menu --- .../java/com/moez/QKSMS/common/BlockedConversationHelper.java | 4 +--- QKSMS/src/main/res/values/strings.xml | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/QKSMS/src/main/java/com/moez/QKSMS/common/BlockedConversationHelper.java b/QKSMS/src/main/java/com/moez/QKSMS/common/BlockedConversationHelper.java index 0103fd57..f145e4f5 100644 --- a/QKSMS/src/main/java/com/moez/QKSMS/common/BlockedConversationHelper.java +++ b/QKSMS/src/main/java/com/moez/QKSMS/common/BlockedConversationHelper.java @@ -93,9 +93,7 @@ public class BlockedConversationHelper { * Blocked (#). This method will find the number of blocked unread messages to show in that menu item and bind it */ public static void bindBlockedMenuItem(final Context context, final SharedPreferences prefs, final MenuItem item, boolean showBlocked) { - Log.d("BlockedConversationHelper", "bindBlockedMenuItem"); if (item == null) { - Log.d("BlockedConversationHelper", "item is null"); return; } @@ -120,7 +118,7 @@ public class BlockedConversationHelper { protected void onPreExecute() { super.onPreExecute(); mMenuItem.setVisible(mPrefs.getBoolean(SettingsFragment.BLOCKED_ENABLED, false)); - mMenuItem.setTitle(mContext.getString(mShowBlocked ? R.string.menu_unblocked_conversations : R.string.menu_blocked_conversations, "...")); + mMenuItem.setTitle(mContext.getString(mShowBlocked ? R.string.menu_messages : R.string.menu_blocked)); } @Override diff --git a/QKSMS/src/main/res/values/strings.xml b/QKSMS/src/main/res/values/strings.xml index c8199613..0e440f93 100644 --- a/QKSMS/src/main/res/values/strings.xml +++ b/QKSMS/src/main/res/values/strings.xml @@ -635,6 +635,8 @@ Unmute conversation Block conversation Unblock conversation + Messages + Blocked Blocked (%s new) Messages (%s new) Notification settings