gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]