Skip to content

Commit 6eb293c

Browse files
tadelvstephencelis
andauthored
Require BindWorkaround for iOS17 in NavigationDestination (pointfreeco#122)
* require BindWorkaround for iOS17 * Update Sources/SwiftUINavigation/NavigationDestination.swift --------- Co-authored-by: Stephen Celis <[email protected]>
1 parent 905274b commit 6eb293c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/SwiftUINavigation/NavigationDestination.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@
100100
}
101101

102102
private let requiresBindWorkaround = {
103+
if #available(iOS 17, macOS 14, tvOS 17, watchOS 10, *) {
104+
return true
105+
}
103106
guard #available(iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *)
104107
else { return true }
105108
return false

0 commit comments

Comments
 (0)