Skip to content

Commit

Permalink
fix access level for NavigationStack (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Oguz Yuksel <[email protected]>
  • Loading branch information
OguzYuuksel and Oguz Yuksel authored Jan 26, 2023
1 parent 2aad724 commit 296fcb9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import SwiftUI

struct NavigationStack<Content: View>: View {
public struct NavigationStack<Content: View>: View {
private let content: () -> Content

init(@ViewBuilder _ content: @escaping () -> Content) {
public init(@ViewBuilder _ content: @escaping () -> Content) {
self.content = content
}

var body: some View {
public var body: some View {
if #available(iOS 16, macOS 13, tvOS 16, watchOS 9, *) {
SwiftUI.NavigationStack {
content()
Expand Down

0 comments on commit 296fcb9

Please sign in to comment.