Showing now Navigation disclosure triangle again

This commit is contained in:
dankito 2020-08-10 00:19:48 +02:00
parent 4c631b7005
commit 00d7b7d24d
3 changed files with 3 additions and 15 deletions

View File

@ -9,7 +9,7 @@ struct AllBanksListItem: View {
var body: some View { var body: some View {
Section { Section {
ZStack { NavigationLink(destination: LazyView(AccountTransactionsDialog(allBanks: self.banks))) {
HStack { HStack {
IconedTitleView(accountTitle: "All accounts".localize(), iconUrl: nil, defaultIconName: Styles.AccountFallbackIcon, titleFont: .headline) IconedTitleView(accountTitle: "All accounts".localize(), iconUrl: nil, defaultIconName: Styles.AccountFallbackIcon, titleFont: .headline)
@ -17,10 +17,6 @@ struct AllBanksListItem: View {
AmountLabel(amount: banks.sumBalances()) AmountLabel(amount: banks.sumBalances())
}.frame(height: 35) }.frame(height: 35)
NavigationLink(destination: LazyView(AccountTransactionsDialog(allBanks: self.banks))) {
EmptyView()
}
} }
} }
} }

View File

@ -8,7 +8,7 @@ struct BankAccountListItem : View {
var body: some View { var body: some View {
ZStack { NavigationLink(destination: LazyView(AccountTransactionsDialog(account: self.account))) {
HStack { HStack {
Text(account.displayName) Text(account.displayName)
@ -16,10 +16,6 @@ struct BankAccountListItem : View {
AmountLabel(amount: account.balance) AmountLabel(amount: account.balance)
}.frame(height: 35) }.frame(height: 35)
NavigationLink(destination: LazyView(AccountTransactionsDialog(account: self.account))) {
EmptyView()
}
} }
} }

View File

@ -9,7 +9,7 @@ struct BankListItem : View {
var body: some View { var body: some View {
Section { Section {
ZStack { NavigationLink(destination: LazyView(AccountTransactionsDialog(bank: self.bank))) {
HStack { HStack {
IconedTitleView(bank, titleFont: .headline) IconedTitleView(bank, titleFont: .headline)
@ -17,10 +17,6 @@ struct BankListItem : View {
AmountLabel(amount: bank.balance) AmountLabel(amount: bank.balance)
}.frame(height: 35) }.frame(height: 35)
NavigationLink(destination: LazyView(AccountTransactionsDialog(bank: self.bank))) {
EmptyView()
}
} }