From d4271db0843bf5742a8b3a6510a6bb68afe53f2b Mon Sep 17 00:00:00 2001 From: Ben Myers Date: Sun, 27 Feb 2022 16:15:24 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=B1=20iOS=20compatability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ShinySwiftUI/Extensions/SwiftUI/View/View+Button.swift | 2 +- .../ShinySwiftUI/Extensions/SwiftUI/View/View+Tooltip.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Button.swift b/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Button.swift index 5022124..893ec48 100644 --- a/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Button.swift +++ b/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Button.swift @@ -71,7 +71,7 @@ public extension View { } } -@available(macOS 11.0, iOS 13.0, *) +@available(macOS 11.0, iOS 13.4, *) private struct HoverView: View where T: View { @State var hover: Bool = false diff --git a/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Tooltip.swift b/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Tooltip.swift index 4f380fe..19f23db 100644 --- a/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Tooltip.swift +++ b/Sources/ShinySwiftUI/Extensions/SwiftUI/View/View+Tooltip.swift @@ -7,7 +7,7 @@ import SwiftUI -@available(macOS 11.0, iOS 13.0, *) +@available(macOS 11.0, iOS 13.4, *) public extension View { // MARK: - Public Methods @@ -23,7 +23,7 @@ public extension View { } } -@available(macOS 11.0, iOS 13.0, *) +@available(macOS 11.0, iOS 13.4, *) fileprivate struct TooltipView: View where Content: View, TooltipContent: View { @ViewBuilder var content: Content