From 3589d8dc84691fa857e49a77fcb37a7699600032 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Mon, 2 Dec 2024 12:39:19 +0100 Subject: [PATCH] finish kingfisher upgrade --- HabitRPG/Utilities/ImageManager.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/HabitRPG/Utilities/ImageManager.swift b/HabitRPG/Utilities/ImageManager.swift index e0fbbbda..a00fb442 100644 --- a/HabitRPG/Utilities/ImageManager.swift +++ b/HabitRPG/Utilities/ImageManager.swift @@ -60,6 +60,7 @@ class ImageManager { "shop_armoire": "gif" ] + @MainActor static func setImage(on imageView: NetworkImageView, name: String, extension fileExtension: String = "", completion: ((UIImage?, NSError?) -> Void)? = nil) { if imageView.loadedImageName != name { imageView.image = nil