Skip to content

Commit

Permalink
Merge pull request #32 from futuredapp/houskeep/Add-public-init-for-m…
Browse files Browse the repository at this point in the history
…odal-cover-model

Add public init for modal cover model
  • Loading branch information
ssestak authored Nov 7, 2024
2 parents a682316 + 2278df1 commit 626ff37
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ public struct ModalCoverModel<Destination: Hashable & Identifiable>: Identifiabl
public var id: Destination.ID {
destination.id
}

public init(destination: Destination, style: ModalCoverModelStyle) {
self.destination = destination
self.style = style
}
}

0 comments on commit 626ff37

Please sign in to comment.