Skip to content

Commit

Permalink
Merge branch 'test'
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarno-lucid committed Mar 4, 2024
2 parents 78560c4 + 0fd9733 commit 1efdf6a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Sources/SwiftfulRouting/Components/TransitionSupportView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ struct TransitionSupportView<Content:View>: View {
)
.zIndex(1)
} else {
// Group {
// if allowsSwipeBack {
// SwipeBackSupportContainer(
// insertionTransition: data.transition,
// swipeThreshold: 30,
// content: {
// data.destination(router).destination
// },
// onDidSwipeBack: onDidSwipeBack
// )
// } else {
Group {
if allowsSwipeBack {
SwipeBackSupportContainer(
insertionTransition: data.transition,
swipeThreshold: 30,
content: {
data.destination(router).destination
},
onDidSwipeBack: onDidSwipeBack
)
} else {
data.destination(router).destination
// }
// }
}
}
.transition(
.asymmetric(
insertion: currentTransition.insertion,
Expand Down

0 comments on commit 1efdf6a

Please sign in to comment.