We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isTrailing
pageTransition(...)
1 parent 2c4f1b9 commit 879d971Copy full SHA for 879d971
‎Sources/ShinySwiftUI/Extensions/SwiftUI/View/View.swift
@@ -199,7 +199,7 @@ public extension View {
199
- parameter isTrailing: Whether the view is swiping left or right.
200
*/
201
@ViewBuilder
202
- func pageTransition(isTrailing: Bool) -> some View {
+ func pageTransition(isTrailing: Bool = true) -> some View {
203
#if os(iOS)
204
self.transition(isTrailing ? .swipe : .swipeReversed)
205
#else
0 commit comments