Skip to content

Commit ca92308

Browse files
authored
Update TransformerFactory.swift to add visionOS (#1)
1 parent d048bf4 commit ca92308

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Shared/Library/TransformerFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class TransformerFactory {
99
return Transformer<Data>(toData: toData, fromData: fromData)
1010
}
1111

12-
#if os(iOS) || os(tvOS) || os(macOS)
12+
#if os(iOS) || os(tvOS) || os(macOS) || os(visionOS)
1313
public static func forImage() -> Transformer<Image> {
1414
let toData: (Image) throws -> Data = { image in
1515
return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)

0 commit comments

Comments
 (0)