forked from shadowfacts/Tusker
parent
21874b0966
commit
a77b090435
|
@ -40,9 +40,16 @@ struct MuteAccountView: View {
|
||||||
@State private var error: Error?
|
@State private var error: Error?
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
if #available(iOS 16.0, *) {
|
||||||
|
NavigationStack {
|
||||||
|
navigationViewContent
|
||||||
|
}
|
||||||
|
} else {
|
||||||
NavigationView {
|
NavigationView {
|
||||||
navigationViewContent
|
navigationViewContent
|
||||||
}
|
}
|
||||||
|
.navigationViewStyle(.stack)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private var navigationViewContent: some View {
|
private var navigationViewContent: some View {
|
||||||
|
|
Loading…
Reference in New Issue