-
|
While integrating this marvelous library I noticed that I'd like to know why Related snippets case .cover, .managedCover:
guard state.cover?.id != destination.id else { return }
log(.navigation(.presenting(destination)))
#if os(iOS)
state.cover = AnyNavigationDestination(wrapped: destination, method: method)
#else
state.sheet = AnyNavigationDestination(wrapped: destination, method: method)
#endif #if os(iOS)
.fullScreenCover(item: $state.cover) { (destination) in
managedView(for: destination)
}
#endif |
Beta Was this translation helpful? Give feedback.
Answered by
hmlongco
Nov 25, 2025
Replies: 1 comment 1 reply
-
|
Because.... I didn't think of it? Will fix in next version. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
krin-san
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because.... I didn't think of it?
Will fix in next version.