Skip to content

Commit 2d50026

Browse files
authored
Merge pull request #14 from buscarini/master
Fix compilation for tvOS.
2 parents b177f52 + 8a2c52c commit 2d50026

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)