Fix archive

This commit is contained in:
Thomas Ricouard 2024-08-12 22:27:44 +02:00
parent 5d1d540c7f
commit 57c2133673

View file

@ -40,11 +40,11 @@
self.parent = parent
}
func didDismiss(controller _: GiphyViewController?) {
@MainActor func didDismiss(controller _: GiphyViewController?) {
parent.onShouldDismissGifPicker()
}
func didSelectMedia(giphyViewController _: GiphyViewController, media: GPHMedia) {
@MainActor func didSelectMedia(giphyViewController _: GiphyViewController, media: GPHMedia) {
let url = media.url(rendition: .fixedWidth, fileType: .gif)
parent.completion(url ?? "")
}