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
|
||||
.navigationBarHidden(false)
|
||||
.navigationBarBackButtonHidden(true)
|
||||
|
|
Loading…
Reference in New Issue