From d8cb8936811cca70d4dc455c3e72a216d7d09daf Mon Sep 17 00:00:00 2001 From: phenx-de Date: Mon, 16 Jun 2014 09:42:19 +0200 Subject: [PATCH] Fixes "subtitle is not updated when select all is pressed" // FREEBIE --- src/org/thoughtcrime/securesms/ConversationListFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/thoughtcrime/securesms/ConversationListFragment.java b/src/org/thoughtcrime/securesms/ConversationListFragment.java index 9f81b6c6fe..f875bdd90e 100644 --- a/src/org/thoughtcrime/securesms/ConversationListFragment.java +++ b/src/org/thoughtcrime/securesms/ConversationListFragment.java @@ -227,10 +227,14 @@ public class ConversationListFragment extends SherlockListFragment private void handleSelectAllThreads() { ((ConversationListAdapter)this.getListAdapter()).selectAllThreads(); + actionMode.setSubtitle(getString(R.string.conversation_fragment_cab__batch_selection_amount, + ((ConversationListAdapter)this.getListAdapter()).getBatchSelections().size())); } private void handleUnselectAllThreads() { ((ConversationListAdapter)this.getListAdapter()).selectAllThreads(); + actionMode.setSubtitle(getString(R.string.conversation_fragment_cab__batch_selection_amount, + ((ConversationListAdapter)this.getListAdapter()).getBatchSelections().size())); } private void handleCreateConversation(long threadId, Recipients recipients, int distributionType) {