iOS 16 is now the minimum version for the project. Signed-off-by: kingbri <bdashore3@proton.me>
21 lines
375 B
Swift
21 lines
375 B
Swift
//
|
|
// NavView.swift
|
|
// Ferrite
|
|
//
|
|
// Created by Brian Dashore on 7/4/22.
|
|
// Contributed by Mantton
|
|
//
|
|
// A wrapper that switches between NavigationStack and the legacy NavigationView
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct NavView<Content: View>: View {
|
|
@ViewBuilder var content: Content
|
|
|
|
var body: some View {
|
|
NavigationStack {
|
|
content
|
|
}
|
|
}
|
|
}
|