diff options
author | Marc Stibane <marc@taler.net> | 2023-10-15 23:54:13 +0200 |
---|---|---|
committer | Marc Stibane <marc@taler.net> | 2023-10-15 23:54:13 +0200 |
commit | 32f9a512c236df4d6c7f060be7b363ea89e49dea (patch) | |
tree | 52016213bf84452cd0dea4b1fcaf91d644e4f66c | |
parent | f307347b538e23d33360532248055fd8c78cc80a (diff) | |
download | taler-ios-32f9a512c236df4d6c7f060be7b363ea89e49dea.tar.gz taler-ios-32f9a512c236df4d6c7f060be7b363ea89e49dea.tar.bz2 taler-ios-32f9a512c236df4d6c7f060be7b363ea89e49dea.zip |
comment
-rw-r--r-- | TalerWallet1/Views/Balances/BalancesSectionView.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift b/TalerWallet1/Views/Balances/BalancesSectionView.swift index fce76ad..dfc5996 100644 --- a/TalerWallet1/Views/Balances/BalancesSectionView.swift +++ b/TalerWallet1/Views/Balances/BalancesSectionView.swift @@ -126,6 +126,7 @@ extension BalancesSectionView: View { // } } let transactionCount = completedTransactions.count + /// if there is only one currency, then show recent transactions if sectionCount == 1 && transactionCount > 0 { let sortedTransactions = completedTransactions.sorted { do { @@ -226,6 +227,7 @@ fileprivate struct BalancesNavigationLinksView: View { @Binding var completedTransactions: [Transaction] let reloadAllAction: (_ stack: CallStack) async -> () let reloadOneAction: ((_ transactionId: String) async throws -> Transaction) +// @EnvironmentObject private var model: WalletModel @State private var buttonSelected: Int? = nil |