Fixed calling showNavigationBarTitle() instead of navigationBarTitle()

This commit is contained in:
dankito 2020-09-07 00:43:45 +02:00
parent d197346cfc
commit f3332c6da7
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ struct AccountsTab: View {
}
}
.systemGroupedBackground()
.navigationBarTitle("Accounts")
.showNavigationBarTitle("Accounts")
.navigationBarItems(leading: data.hasAtLeastOneAccountBeenAdded == false ? nil : UpdateButton { _ in
self.presenter.updateAccountsTransactionsAsync { _ in }
})

View File

@ -79,7 +79,7 @@ struct LoginDialog: View {
}
}
}
.navigationBarTitle("Login Dialog title")
.showNavigationBarTitle("Login Dialog title")
.navigationBarItems(leading: allowCancellingLogin == false ? nil : createCancelButton {
self.closeDialogAndDispatchLoginResult(false)
})

View File

@ -138,7 +138,7 @@ struct ProtectAppSettingsDialog: View {
}
}
.fixKeyboardCoversLowerPart()
.navigationBarTitle("Protect App Settings Dialog title")
.showNavigationBarTitle("Protect App Settings Dialog title")
}