Skip to content

Commit

Permalink
Updated Code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenTiigi committed Apr 26, 2022
1 parent 7dcdbc2 commit cd69ff8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Sources/Extensions/View+WhatsNewSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import SwiftUI

public extension View {

/// Presents a WhatsNewView using the given WhatsNew object as a data source for the sheet’s content.
/// [Deprecated] Presents a WhatsNewView using the given WhatsNew object as a data source for the sheet’s content.
/// - Parameters:
/// - whatsNew: A Binding to an optional WhatsNew object
/// - versionStore: The optional WhatsNewVersionStore. Default value `nil`
Expand All @@ -17,7 +17,12 @@ public extension View {
layout: WhatsNew.Layout = .default,
onDimiss: (() -> Void)?
) -> some View {
self.sheet(whatsNew: whatsNew, versionStore: versionStore, layout: layout, onDismiss: onDimiss)
self.sheet(
whatsNew: whatsNew,
versionStore: versionStore,
layout: layout,
onDismiss: onDimiss
)
}

/// Presents a WhatsNewView using the given WhatsNew object as a data source for the sheet’s content.
Expand Down

0 comments on commit cd69ff8

Please sign in to comment.