Skip to content

Commit

Permalink
Make init public
Browse files Browse the repository at this point in the history
  • Loading branch information
joogps committed Dec 5, 2020
1 parent a00eb57 commit f33aced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SlideOverCard/SlideOverCard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public struct SlideOverCardView<Content:View>: View {

let content: Content

init(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, dragEnabled: Binding<Bool> = .constant(true), dragToDismiss: Binding<Bool> = .constant(true), displayExitButton: Binding<Bool> = .constant(true), content: @escaping () -> Content) {
public init(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, dragEnabled: Binding<Bool> = .constant(true), dragToDismiss: Binding<Bool> = .constant(true), displayExitButton: Binding<Bool> = .constant(true), content: @escaping () -> Content) {
self.isPresented = isPresented
self.onDismiss = onDismiss
self.dragEnabled = dragEnabled
Expand Down

0 comments on commit f33aced

Please sign in to comment.