removeAttachment

fun removeAttachment(attachment: Attachment)

Removes attachment from the staged list.

Searches picker selections first (by key), then edit-mode attachments, then the recording attachment. Removes from the first list that contains it.

Parameters

attachment

The attachment to remove.