This commit is contained in:
kosyak 2024-03-04 18:34:51 +01:00
parent 2bae668561
commit cf889b3450

View file

@ -894,7 +894,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements DraggableLi
view.setTag(viewHolder);
} else {
viewHolder = (ViewHolder) view.getTag();
if (dragHelper.getCapturedView() == view) {
if (dragHelper != null && dragHelper.getCapturedView() == view) {
dragHelper.abort();
}