Fix mute screen layout on iPad

Closes #276
This commit is contained in:
Shadowfacts 2022-11-29 10:23:00 -05:00
parent 21874b0966
commit a77b090435
1 changed files with 9 additions and 2 deletions

View File

@ -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)
}
}