Removed that onBackButtonPressed label has to be entered
This commit is contained in:
parent
322de6f484
commit
425982291c
|
@ -20,9 +20,9 @@ extension View {
|
|||
.navigationBarHidden(false)
|
||||
.navigationBarTitle(title, displayMode: displayMode)
|
||||
}
|
||||
|
||||
|
||||
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