Skip to content

Commit

Permalink
fixed #38
Browse files Browse the repository at this point in the history
fixed onDismiss not calling when closing PartialSheet with the closePartialSheet func
  • Loading branch information
AndreaMiotto committed Jun 3, 2020
1 parent f8b4ae9 commit 3ccfb42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/PartialSheet/PartialSheetManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ public class PartialSheetManager: ObservableObject {
/// Close the Partial Sheet and run the onDismiss function if it has been previously specified
public func closePartialSheet() {
self.isPresented = false
self.onDismiss?()
}
}

0 comments on commit 3ccfb42

Please sign in to comment.