diff --git a/ui/BankingiOSApp/BankingiOSApp/extensions/ViewExtensions.swift b/ui/BankingiOSApp/BankingiOSApp/extensions/ViewExtensions.swift index e24753c9..be128875 100644 --- a/ui/BankingiOSApp/BankingiOSApp/extensions/ViewExtensions.swift +++ b/ui/BankingiOSApp/BankingiOSApp/extensions/ViewExtensions.swift @@ -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)