From e5c9ac3f4e57d75689bfc07cc1a87caecf5e700d Mon Sep 17 00:00:00 2001 From: Martin Hartl Date: Thu, 23 Dec 2021 07:10:42 +0100 Subject: [PATCH] Fix faulty navigation of ComposeScreen on iPad --- .../martinhartl.xcuserdatad/xcschemes/xcschememanagement.plist | 2 +- IcroUIKit/ViewController/ComposeView.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Icro.xcodeproj/xcuserdata/martinhartl.xcuserdatad/xcschemes/xcschememanagement.plist b/Icro.xcodeproj/xcuserdata/martinhartl.xcuserdatad/xcschemes/xcschememanagement.plist index 59a5781..9daf2f6 100644 --- a/Icro.xcodeproj/xcuserdata/martinhartl.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Icro.xcodeproj/xcuserdata/martinhartl.xcuserdatad/xcschemes/xcschememanagement.plist @@ -12,7 +12,7 @@ Icro-Next.xcscheme_^#shared#^_ orderHint - 4 + 5 Icro-Share.xcscheme_^#shared#^_ diff --git a/IcroUIKit/ViewController/ComposeView.swift b/IcroUIKit/ViewController/ComposeView.swift index 21299f3..e59a3c6 100644 --- a/IcroUIKit/ViewController/ComposeView.swift +++ b/IcroUIKit/ViewController/ComposeView.swift @@ -109,6 +109,7 @@ struct ComposeView: View { .navigationBarTitle(NSLocalizedString("COMPOSEVIEWCONTROLLER_TITLE", comment: "")) .navigationBarTitleDisplayMode(.inline) } + .navigationViewStyle(.stack) } var keyboardInputView: ComposeKeyboardInputView {