Skip to content

Commit 8a2c52c

Browse files
committed
Fix compilation for tvOS.
1 parent b177f52 commit 8a2c52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SnapshotTestingHEIC/UIImage.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public extension Diffing where Value == UIImage {
2929
}
3030

3131
let emptyHeicData: Data
32-
if #available(iOS 17.0, *) {
32+
if #available(iOS 17.0, tvOS 17.0, *) {
3333
emptyHeicData = emptyImage().heicData() ?? Data()
3434
} else {
3535
emptyHeicData = Data()

0 commit comments

Comments
 (0)