From a77b090435c7c45296b6d0aaac836e6605248e20 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 29 Nov 2022 10:23:00 -0500 Subject: [PATCH] Fix mute screen layout on iPad Closes #276 --- Tusker/Screens/Mute/MuteAccountView.swift | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Tusker/Screens/Mute/MuteAccountView.swift b/Tusker/Screens/Mute/MuteAccountView.swift index ea520849..0c5c0690 100644 --- a/Tusker/Screens/Mute/MuteAccountView.swift +++ b/Tusker/Screens/Mute/MuteAccountView.swift @@ -40,8 +40,15 @@ struct MuteAccountView: View { @State private var error: Error? var body: some View { - NavigationView { - navigationViewContent + if #available(iOS 16.0, *) { + NavigationStack { + navigationViewContent + } + } else { + NavigationView { + navigationViewContent + } + .navigationViewStyle(.stack) } }