diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/AllBanksListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/AllBanksListItem.swift index 191359f9..6ef1799b 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/AllBanksListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/AllBanksListItem.swift @@ -9,7 +9,7 @@ struct AllBanksListItem: View { var body: some View { Section { - ZStack { + NavigationLink(destination: LazyView(AccountTransactionsDialog(allBanks: self.banks))) { HStack { IconedTitleView(accountTitle: "All accounts".localize(), iconUrl: nil, defaultIconName: Styles.AccountFallbackIcon, titleFont: .headline) @@ -17,10 +17,6 @@ struct AllBanksListItem: View { AmountLabel(amount: banks.sumBalances()) }.frame(height: 35) - - NavigationLink(destination: LazyView(AccountTransactionsDialog(allBanks: self.banks))) { - EmptyView() - } } } } diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankAccountListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankAccountListItem.swift index ebc753c7..d7653118 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankAccountListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankAccountListItem.swift @@ -8,7 +8,7 @@ struct BankAccountListItem : View { var body: some View { - ZStack { + NavigationLink(destination: LazyView(AccountTransactionsDialog(account: self.account))) { HStack { Text(account.displayName) @@ -16,10 +16,6 @@ struct BankAccountListItem : View { AmountLabel(amount: account.balance) }.frame(height: 35) - - NavigationLink(destination: LazyView(AccountTransactionsDialog(account: self.account))) { - EmptyView() - } } } diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift index 46b044ff..011a916e 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankListItem.swift @@ -9,7 +9,7 @@ struct BankListItem : View { var body: some View { Section { - ZStack { + NavigationLink(destination: LazyView(AccountTransactionsDialog(bank: self.bank))) { HStack { IconedTitleView(bank, titleFont: .headline) @@ -17,10 +17,6 @@ struct BankListItem : View { AmountLabel(amount: bank.balance) }.frame(height: 35) - - NavigationLink(destination: LazyView(AccountTransactionsDialog(bank: self.bank))) { - EmptyView() - } }