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

// FREEBIE
fork-5.53.8
phenx-de 2014-06-16 09:42:19 +02:00 zatwierdzone przez Moxie Marlinspike
rodzic 1ad54e7b88
commit d8cb893681
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

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