Correctly sets subtitle on conversation batch select mode during first selection

fixes #3565
closes #3628
This commit is contained in:
Heartsucker 2015-07-12 13:56:32 +02:00 committed by Moxie Marlinspike
parent 149ac9f417
commit 5a29c61dac

View File

@ -286,7 +286,7 @@ public class ConversationListFragment extends Fragment
inflater.inflate(R.menu.conversation_list_batch, menu); inflater.inflate(R.menu.conversation_list_batch, menu);
mode.setTitle(R.string.conversation_fragment_cab__batch_selection_mode); mode.setTitle(R.string.conversation_fragment_cab__batch_selection_mode);
mode.setSubtitle(null); mode.setSubtitle(getString(R.string.conversation_fragment_cab__batch_selection_amount, 1));
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
getActivity().getWindow() getActivity().getWindow()