[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 127/204: Remove "Amount too small"
From: |
gnunet |
Subject: |
[taler-taler-ios] 127/204: Remove "Amount too small" |
Date: |
Thu, 05 Dec 2024 23:51:35 +0100 |
This is an automated email from the git hooks/post-receive script.
marc-stibane pushed a commit to branch master
in repository taler-ios.
commit fcaaf7ebec96e1c67f66f7a80b44cfdfd16657b6
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Nov 11 16:17:11 2024 +0100
Remove "Amount too small"
---
TalerWallet1/Views/Actions/Banking/QuiteSomeCoins.swift | 6 ++----
TalerWallet1/Views/HelperViews/AmountInputV.swift | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/TalerWallet1/Views/Actions/Banking/QuiteSomeCoins.swift
b/TalerWallet1/Views/Actions/Banking/QuiteSomeCoins.swift
index 0814642..5010b70 100644
--- a/TalerWallet1/Views/Actions/Banking/QuiteSomeCoins.swift
+++ b/TalerWallet1/Views/Actions/Banking/QuiteSomeCoins.swift
@@ -80,12 +80,10 @@ struct QuiteSomeCoins: View {
}
}
if isError || coinData.quiteSome || coinData.manyCoins {
- Text(coinData.invalid ? "Amount too small"
- : coinData.tooMany ? "Amount too big for a single withdrawal!"
+ Text(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(coinData.invalid ? .secondary :
- isError || coinData.quiteSome ? .red : .primary)
+ .foregroundColor(isError || coinData.quiteSome ? .red :
.primary)
.talerFont(.body)
.multilineTextAlignment(.leading)
.padding(.vertical, 6)
diff --git a/TalerWallet1/Views/HelperViews/AmountInputV.swift
b/TalerWallet1/Views/HelperViews/AmountInputV.swift
index 648251b..b9afaa3 100644
--- a/TalerWallet1/Views/HelperViews/AmountInputV.swift
+++ b/TalerWallet1/Views/HelperViews/AmountInputV.swift
@@ -101,7 +101,7 @@ struct AmountInputV: View {
shouldShowFee: true, // TODO: set to false if we
never charge withdrawal fees
feeIsNegative: feeIsNegative)
let flags = checkAvailable(coinData)
- Button(coinData.invalid ? "Amount too small" : "Next") {
buttonAction() }
+ Button("Next") { buttonAction() }
.buttonStyle(TalerButtonStyle(type: .prominent, disabled:
flags.disabled))
.disabled(flags.disabled)
}.padding(.horizontal)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 108/204: inputAccessory 'return', (continued)
- [taler-taler-ios] 108/204: inputAccessory 'return', gnunet, 2024/12/05
- [taler-taler-ios] 124/204: move DB to AppSupport, gnunet, 2024/12/05
- [taler-taler-ios] 111/204: exchange, gnunet, 2024/12/05
- [taler-taler-ios] 118/204: demoHints, gnunet, 2024/12/05
- [taler-taler-ios] 126/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 128/204: less logging, gnunet, 2024/12/05
- [taler-taler-ios] 129/204: currencyInfo, gnunet, 2024/12/05
- [taler-taler-ios] 131/204: wire fee, gnunet, 2024/12/05
- [taler-taler-ios] 115/204: Refund, gnunet, 2024/12/05
- [taler-taler-ios] 125/204: Button visible, gnunet, 2024/12/05
- [taler-taler-ios] 127/204: Remove "Amount too small",
gnunet <=
- [taler-taler-ios] 130/204: Sheet logic, gnunet, 2024/12/05
- [taler-taler-ios] 117/204: Transactions, gnunet, 2024/12/05
- [taler-taler-ios] 133/204: addGlobalCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 132/204: don't reload after delete, gnunet, 2024/12/05
- [taler-taler-ios] 134/204: use addGlobalCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 145/204: baseURL, gnunet, 2024/12/05
- [taler-taler-ios] 151/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 158/204: Logging, gnunet, 2024/12/05
- [taler-taler-ios] 140/204: wording, gnunet, 2024/12/05
- [taler-taler-ios] 154/204: show product images, gnunet, 2024/12/05