improve message selection mode title
This commit is contained in:
parent
5d30742a13
commit
e3ce350077
|
@ -2287,7 +2287,7 @@ public class ConversationFragment extends XmppFragment
|
||||||
if (selectedMessages.size() == 0) {
|
if (selectedMessages.size() == 0) {
|
||||||
selectionActionMode.finish();
|
selectionActionMode.finish();
|
||||||
} else {
|
} else {
|
||||||
selectionActionMode.setTitle(selectedMessages.size() + "");
|
selectionActionMode.setTitle(getString(R.string.message_selection_title, selectedMessages.size()));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.messageListAdapter.notifyDataSetChanged();
|
this.messageListAdapter.notifyDataSetChanged();
|
||||||
|
|
|
@ -1046,4 +1046,5 @@
|
||||||
<string name="filter">filter</string>
|
<string name="filter">filter</string>
|
||||||
<string name="could_not_create_file">could_not_create_file</string>
|
<string name="could_not_create_file">could_not_create_file</string>
|
||||||
<string name="muc_private_conversation_title">%1$s (%2$s)</string>
|
<string name="muc_private_conversation_title">%1$s (%2$s)</string>
|
||||||
|
<string name="message_selection_title">%1$d selected</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue