commit 61e680e4fc8de0195b82c68206fe8646037959da
parent 4c00b40f9f2dfff795b3c130e9903105d7159e25
Author: Marc Stibane <marc@taler.net>
Date: Fri, 12 Jul 2024 23:27:58 +0200
minimalistic: no currency name
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/TalerWallet1/Views/HelperViews/BarGraph.swift b/TalerWallet1/Views/HelperViews/BarGraph.swift
@@ -25,9 +25,11 @@ struct BarGraphHeader: View {
var body: some View {
HStack (alignment: .center, spacing: 10) {
- Text(currencyName)
- .talerFont(.title2)
- .foregroundColor(WalletColors().secondary(colorScheme, colorSchemeContrast))
+ if !minimalistic {
+ Text(currencyName)
+ .talerFont(.title2)
+ .foregroundColor(WalletColors().secondary(colorScheme, colorSchemeContrast))
+ }
if let scopeInfo {
BarGraph(transactions: $completedTransactions,
maxBars: MAXBARS, barHeight: barHeight)