Skip to content

Commit

Permalink
Fix archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Aug 12, 2024
1 parent 5d1d540 commit 57c2133
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? "")
}
Expand Down

0 comments on commit 57c2133

Please sign in to comment.