Removed that onBackButtonPressed label has to be entered

This commit is contained in:
dankito 2020-09-28 00:36:29 +02:00
parent 322de6f484
commit 425982291c
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ extension View {
}
func customNavigationBarBackButton(onBackButtonPressed: @escaping () -> Void) -> some View {
func customNavigationBarBackButton(_ onBackButtonPressed: @escaping () -> Void) -> some View {
return self
.navigationBarHidden(false)
.navigationBarBackButtonHidden(true)