Skip to content

Commit

Permalink
Fix subscription modal double close button
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmaccallum committed Dec 5, 2024
1 parent 281d32b commit 9735d03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ public extension View {
.LoadType?
>,
with loader: ParraViewDataLoader<TransformParams, Data, SheetContent>,
detents: Set<PresentationDetent> = [],
visibility: Visibility = .automatic,
onDismiss: ((ParraSheetDismissType) -> Void)? = nil
) -> some View {
modifier(
SheetWithLoader(
loadType: loadType,
loader: loader,
detents: detents,
visibility: visibility,
onDismiss: onDismiss
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public extension View {
with: .paywallLoader(
config: config
),
detents: [.large],
onDismiss: nil
)
}
Expand Down

0 comments on commit 9735d03

Please sign in to comment.