Removed that onBackButtonPressed label has to be entered
This commit is contained in:
parent
322de6f484
commit
425982291c
|
@ -22,7 +22,7 @@ extension View {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func customNavigationBarBackButton(onBackButtonPressed: @escaping () -> Void) -> some View {
|
func customNavigationBarBackButton(_ onBackButtonPressed: @escaping () -> Void) -> some View {
|
||||||
return self
|
return self
|
||||||
.navigationBarHidden(false)
|
.navigationBarHidden(false)
|
||||||
.navigationBarBackButtonHidden(true)
|
.navigationBarBackButtonHidden(true)
|
||||||
|
|
Loading…
Reference in New Issue