commit d4f1dee2e5a639c5ead5f08c98df2ac0b9f65888
parent 11398cc4d142c99cbee6e31f0bf9d52447714156
Author: Marc Stibane <marc@taler.net>
Date: Sat, 12 Oct 2024 08:32:35 +0200
hint instead of warning
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Views/Banking/QuiteSomeCoins.swift b/TalerWallet1/Views/Banking/QuiteSomeCoins.swift
@@ -83,11 +83,12 @@ struct QuiteSomeCoins: View {
}
}
if isError || coinData.quiteSome || coinData.manyCoins {
- Text(coinData.invalid ? "Amount too small!"
+ Text(coinData.invalid ? "Amount too small"
: coinData.tooMany ? "Amount too big for a single withdrawal!"
: coinData.quiteSome ? "Note: It will take quite some time to prepare this amount! Be more patient..."
: "Note: It will take some time to prepare this amount. Be patient...")
- .foregroundColor(isError || coinData.quiteSome ? .red : .primary)
+ .foregroundColor(coinData.invalid ? .secondary :
+ isError || coinData.quiteSome ? .red : .primary)
.talerFont(.body)
.multilineTextAlignment(.leading)
.padding(.vertical, 6)