okay gonna try uikit :pf:

let _ in downloadImage
This commit is contained in:
neon443
2025-11-03 19:53:50 +00:00
parent d4cc465b81
commit 29a270c2a5
2 changed files with 30 additions and 28 deletions

View File

@@ -74,7 +74,7 @@ struct Emoji: Codable, Identifiable, Hashable {
nonisolated
func downloadImage() async throws {
if let data = try? await Data(contentsOf: localImageURL),
let uiimage = UIImage(data: data) {
let _ = UIImage(data: data) {
return
}
let (data, _) = try await URLSession.shared.data(from: remoteImageURL)