Update Image.Orientation extension availability

This commit is contained in:
David Robles 2020-07-21 14:46:23 -07:00 committed by GitHub
parent 4c7f169e39
commit b0b765579b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ extension PlatformImage.Orientation {
}
}
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
extension Image.Orientation {
@inlinable var toPlatform: PlatformImage.Orientation {
switch self {