From 57c2133673a2aa08812346c94cbefe948d467cae Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 12 Aug 2024 22:27:44 +0200 Subject: [PATCH] Fix archive --- .../StatusKit/Editor/Components/GIF/GIFPickerView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/StatusKit/Sources/StatusKit/Editor/Components/GIF/GIFPickerView.swift b/Packages/StatusKit/Sources/StatusKit/Editor/Components/GIF/GIFPickerView.swift index 054b0742..0227353d 100644 --- a/Packages/StatusKit/Sources/StatusKit/Editor/Components/GIF/GIFPickerView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Editor/Components/GIF/GIFPickerView.swift @@ -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 ?? "") }