Fixes "subtitle is not updated when select all is pressed"

// FREEBIE
This commit is contained in:
phenx-de 2014-06-16 09:42:19 +02:00 committed by Moxie Marlinspike
parent 1ad54e7b88
commit d8cb893681

View File

@ -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) {