commit f29fb2ee56e616cc1c728497691d5ca21145b557
parent 56ec2a3bdbe5544c1de420c5c7c202ce252e8743
Author: Marc Stibane <marc@taler.net>
Date: Tue, 18 Aug 2026 16:27:10 +0200
Discounts + Passes for all
Diffstat:
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/TalerWallet1/Views/Balances/BalancesListView.swift b/TalerWallet1/Views/Balances/BalancesListView.swift
@@ -62,11 +62,9 @@ struct BalancesListView: View {
historyTapped: $historyTapped,
reloadTransactions: $reloadTransactions)
}
-#if DEBUG || TALER_NIGHTLY
if count > 1 { // otherwise it comes before recentTransactions
DiscountPassesSection(stack: stack.push())
}
-#endif
}
.listStyle(myListStyle.style).anyView
.background(FullBackground())
diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift b/TalerWallet1/Views/Balances/BalancesSectionView.swift
@@ -155,10 +155,8 @@ extension BalancesSectionView: View {
await loadScanned(stack.push(".task - load scanned"))
}
if sectionCount == 1 {
-#if DEBUG || TALER_NIGHTLY
// show Discounts & Passes before recents
DiscountPassesSection(stack: stack.push())
-#endif
// if there is only one currency, then show MAXRECENT recent transactions
let recentCount = recentTransactions.count
if recentCount > 0 {