Disable multiple select after swipe until list update

pull/147/head
M66B 6 years ago
parent ccda71d25f
commit 4f25de33f0

@ -741,6 +741,9 @@ public class FragmentMessages extends FragmentBase {
Log.i("Swiped dir=" + direction + " message=" + message.id);
if (selectionPredicate != null)
selectionPredicate.setEnabled(false);
Bundle args = new Bundle();
args.putLong("id", message.id);
args.putBoolean("thread", viewType != AdapterMessage.ViewType.THREAD);
@ -1950,6 +1953,9 @@ public class FragmentMessages extends FragmentBase {
return;
}
if (selectionPredicate != null)
selectionPredicate.setEnabled(true);
if (viewType == AdapterMessage.ViewType.THREAD) {
// Mark duplicates
Map<String, List<TupleMessageEx>> duplicates = new HashMap<>();

Loading…
Cancel
Save