Animate attachment rows in when picking assets
This commit is contained in:
parent
dabcae0905
commit
c78f152670
|
@ -288,7 +288,9 @@ extension ComposeHostingController: AssetPickerViewControllerDelegate {
|
||||||
let attachments = attachments.map {
|
let attachments = attachments.map {
|
||||||
CompositionAttachment(data: $0)
|
CompositionAttachment(data: $0)
|
||||||
}
|
}
|
||||||
draft.attachments.append(contentsOf: attachments)
|
withAnimation {
|
||||||
|
draft.attachments.append(contentsOf: attachments)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue