|
|
|
@ -230,7 +230,10 @@ public class FragmentMessages extends FragmentEx {
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
TupleMessageEx message = ((AdapterMessage) rvMessage.getAdapter()).getCurrentList().get(pos);
|
|
|
|
|
if (message == null || viewType != AdapterMessage.ViewType.THREAD || EntityFolder.OUTBOX.equals(message.folderType))
|
|
|
|
|
if (message == null ||
|
|
|
|
|
expanded.contains(message.id) ||
|
|
|
|
|
viewType != AdapterMessage.ViewType.THREAD ||
|
|
|
|
|
EntityFolder.OUTBOX.equals(message.folderType))
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
return makeMovementFlags(0, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT);
|
|
|
|
|