From f3332c6da7b2cab481d9ac345559e8f83c45a1e3 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 7 Sep 2020 00:43:45 +0200 Subject: [PATCH] Fixed calling showNavigationBarTitle() instead of navigationBarTitle() --- ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift | 2 +- ui/BankingiOSApp/BankingiOSApp/ui/views/LoginDialog.swift | 2 +- .../BankingiOSApp/ui/views/ProtectAppSettingsDialog.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift index 2f04579d..e93c9066 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift @@ -36,7 +36,7 @@ struct AccountsTab: View { } } .systemGroupedBackground() - .navigationBarTitle("Accounts") + .showNavigationBarTitle("Accounts") .navigationBarItems(leading: data.hasAtLeastOneAccountBeenAdded == false ? nil : UpdateButton { _ in self.presenter.updateAccountsTransactionsAsync { _ in } }) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/LoginDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/LoginDialog.swift index cf01997e..4b4eb989 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/LoginDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/LoginDialog.swift @@ -79,7 +79,7 @@ struct LoginDialog: View { } } } - .navigationBarTitle("Login Dialog title") + .showNavigationBarTitle("Login Dialog title") .navigationBarItems(leading: allowCancellingLogin == false ? nil : createCancelButton { self.closeDialogAndDispatchLoginResult(false) }) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/ProtectAppSettingsDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/ProtectAppSettingsDialog.swift index 32612fd9..68a6f286 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/ProtectAppSettingsDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/ProtectAppSettingsDialog.swift @@ -138,7 +138,7 @@ struct ProtectAppSettingsDialog: View { } } .fixKeyboardCoversLowerPart() - .navigationBarTitle("Protect App Settings Dialog title") + .showNavigationBarTitle("Protect App Settings Dialog title") }