commit 77034cc33fece3089c51225108bf39c6cca109d2
parent b5eef86b42bfec478261e79a612ca91072e87127
Author: Marc Stibane <marc@taler.net>
Date: Mon, 10 Jun 2024 22:43:50 +0200
Summary
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/HelperViews/AmountInputV.swift b/TalerWallet1/Views/HelperViews/AmountInputV.swift
@@ -57,6 +57,12 @@ struct AmountInputV: View {
let available = amountAvailable?.formatted(currencyInfo) ?? nil
let flags = checkAvailable(amount: amountToTransfer)
ScrollView { VStack(alignment: .trailing) {
+ if summary.count > 0 {
+ Text(summary)
+ .talerFont(.body)
+ .foregroundColor(WalletColors().secondary(colorScheme, colorSchemeContrast))
+ .padding(4)
+ }
if let available {
Text("Available:\t\(available)")
.talerFont(.title3)