Skip to content

Commit

Permalink
Fix complilation on earlier Xcode versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Jun 19, 2024
1 parent 8b93a87 commit e9f1f37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/NukeExtensions/ImageViewExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,11 @@ extension ImageViewController {
transitionView.frame = imageView.frame
transitionView.tintColor = imageView.tintColor
transitionView.tintAdjustmentMode = imageView.tintAdjustmentMode
#if swift(>=5.9)
if #available(iOS 17.0, tvOS 17.0, *) {
transitionView.preferredImageDynamicRange = imageView.preferredImageDynamicRange
}
#endif
transitionView.preferredSymbolConfiguration = imageView.preferredSymbolConfiguration
transitionView.isHidden = imageView.isHidden
transitionView.clipsToBounds = imageView.clipsToBounds
Expand Down

0 comments on commit e9f1f37

Please sign in to comment.