Select conversations

pull/162/head
M66B 5 years ago
parent 86c7fcfbc7
commit f9ce7e351b

@ -2826,7 +2826,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
ToastEx.makeText(getContext(),
getContext().getResources().getQuantityString(
R.plurals.title_selected_messages, ids.size(), ids.size()),
R.plurals.title_selected_conversations, ids.size(), ids.size()),
Toast.LENGTH_LONG).show();
}
});

@ -273,6 +273,7 @@ public class ViewModelMessages extends ViewModel {
PagedList<TupleMessageEx> plist = model.list.getValue();
if (plist == null)
return ids;
LimitOffsetDataSource<TupleMessageEx> ds = (LimitOffsetDataSource<TupleMessageEx>) plist.getDataSource();
int count = ds.countItems();
for (int i = 0; i < count; i += 100)

@ -63,9 +63,9 @@
<item quantity="other">%1$d new</item>
</plurals>
<plurals name="title_selected_messages">
<item quantity="one">Selected %1$d message</item>
<item quantity="other">Selected %1$d messages</item>
<plurals name="title_selected_conversations">
<item quantity="one">Selected %1$d conversation</item>
<item quantity="other">Selected %1$d conversations</item>
</plurals>
<plurals name="title_moving_messages">

Loading…
Cancel
Save