gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 136/204: Available for transfer


From: gnunet
Subject: [taler-taler-ios] 136/204: Available for transfer
Date: Thu, 05 Dec 2024 23:51:44 +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 b8d581077e3e6c5e2c7a2c7b64db98a29208d702
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Nov 18 16:06:34 2024 +0100

    Available for transfer
---
 TalerWallet1/Views/Actions/Peer2peer/SendAmountView.swift             | 2 +-
 TalerWallet1/Views/HelperViews/CurrencyInputView.swift                | 4 ++--
 .../Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift         | 4 +---
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/TalerWallet1/Views/Actions/Peer2peer/SendAmountView.swift 
b/TalerWallet1/Views/Actions/Peer2peer/SendAmountView.swift
index 37a64ae..97093e6 100644
--- a/TalerWallet1/Views/Actions/Peer2peer/SendAmountView.swift
+++ b/TalerWallet1/Views/Actions/Peer2peer/SendAmountView.swift
@@ -169,7 +169,7 @@ struct SendAmountView: View {
                 AmountInputV(stack: stack.push(),
                              scope: scopeInfo,
                    amountAvailable: $amountAvailable,
-                       amountLabel: nil,        // will use "Available: xxx", 
trailing
+                       amountLabel: nil,        // will use "Available for 
transfer: xxx", trailing
                   amountToTransfer: $amountToTransfer,
                     amountLastUsed: amountLastUsed,
                            wireFee: nil,
diff --git a/TalerWallet1/Views/HelperViews/CurrencyInputView.swift 
b/TalerWallet1/Views/HelperViews/CurrencyInputView.swift
index 5087d98..4831007 100644
--- a/TalerWallet1/Views/HelperViews/CurrencyInputView.swift
+++ b/TalerWallet1/Views/HelperViews/CurrencyInputView.swift
@@ -120,7 +120,7 @@ struct CurrencyInputView: View {
         }
         if let available {
             let availableStr = available.formatted(scope, isNegative: false)
-            return String(localized: "Available: \(availableStr)")
+            return String(localized: "Available for transfer: \(availableStr)")
         }
         return nil
     }
@@ -148,7 +148,7 @@ struct CurrencyInputView: View {
             if let heading = heading() {
                 Text(heading)
                     .padding(.horizontal, 4)
-                    .frame(maxWidth: .infinity, alignment: title != nil ? 
.leading : .trailing)
+                    .frame(maxWidth: .infinity, alignment: .trailing)  // 
title != nil ? .leading :
                     .talerFont(.title2)
                     .accessibilityAddTraits(.isHeader)
                     .if(title == nil && available != nil) { view in
diff --git 
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift 
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
index c58f353..8c712d0 100755
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
@@ -164,12 +164,10 @@ struct WithdrawURIView: View {
                                 NavLink($buttonSelected) { acceptDestination }
                             }
                             // TODO: input amount, then
-                            let amountLabel = minimalistic ? String(localized: 
"Amount:")
-                                                           : String(localized: 
"Amount to withdraw:")
                             AmountInputV(stack: stack.push(),
                                          scope: exchange.scopeInfo,
                                amountAvailable: $amountZero,
-                                   amountLabel: amountLabel,
+                                   amountLabel: nil,        // will use 
"Available for transfer: xxx", trailing
                               amountToTransfer: $amountToTransfer,
                                 amountLastUsed: amountLastUsed,
                                        wireFee: wireFee,

-- 
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]