We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4606f7 commit d7fa47eCopy full SHA for d7fa47e
Sources/openai-async-image-swiftui/viewModel/OpenAIDefaultLoader.swift
@@ -5,6 +5,7 @@
5
// Created by Igor on 28.02.2023.
6
//
7
8
+import SwiftUI
9
import async_http_client
10
11
#if os(iOS)
@@ -15,8 +16,6 @@ import UIKit.UIImage
15
16
import AppKit.NSImage
17
#endif
18
-import SwiftUI
19
-
20
@available(iOS 15.0, macOS 12.0, *)
21
public final class OpenAIDefaultLoader : IOpenAILoader{
22
@@ -65,7 +64,6 @@ public final class OpenAIDefaultLoader : IOpenAILoader{
65
64
}
66
67
return try imageBase64(from: result.value)
68
69
70
71
/// Decode base64 to Data
0 commit comments