Skip to content

Commit

Permalink
fix: PickerProvider initializer to public
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhello0507 committed Jul 27, 2024
1 parent 3740991 commit f26bcb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public final class DatePickerProvider: ModalProvider {
@Published var endDate: Date?
@Published var action: () -> Void = {}

public init() {}

public func present(
_ title: String,
startDate: Date?,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ public final class TimePickerProvider: ModalProvider {
@Published var minute: Int = 0
@Published var action: () -> Void = {}

func present(
public init() {}

public func present(
_ title: String,
action: @escaping () -> Void
) {
Expand Down

0 comments on commit f26bcb0

Please sign in to comment.