Skip to content

Commit

Permalink
Merge pull request #54 from BohdanDatskiv/main
Browse files Browse the repository at this point in the history
Fix dismiss completion for iOS 14.4 and below
  • Loading branch information
johnpatrickmorgan authored May 13, 2023
2 parents 8d1bc57 + 0c56402 commit 49a750b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/FlowStacks/View+cover.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ extension View {
if asSheet {
self.sheet(
isPresented: isPresented,
onDismiss: nil,
onDismiss: onDismiss,
content: content
)
} else {
self.cover(
isPresented: isPresented,
onDismiss: nil,
onDismiss: onDismiss,
content: content
)
}
Expand Down

0 comments on commit 49a750b

Please sign in to comment.