gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 03/08: Minimalistic


From: gnunet
Subject: [taler-taler-ios] 03/08: Minimalistic
Date: Thu, 07 Dec 2023 00:44:20 +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 c4533fd6de6d7edf03163f58f5d55207b0aeb4d8
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Dec 6 23:56:43 2023 +0100

    Minimalistic
---
 TalerWallet1/Views/Exchange/ManualWithdraw.swift   | 2 +-
 TalerWallet1/Views/HelperViews/ToSButtonView.swift | 7 +++++--
 TalerWallet1/Views/Peer2peer/RequestPayment.swift  | 2 +-
 TalerWallet1/Views/Peer2peer/SendAmount.swift      | 2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift 
b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
index da6e34b..0ad86f6 100644
--- a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
+++ b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
@@ -52,7 +52,7 @@ struct ManualWithdraw: View {
                 .accessibilityFont(.body)
             CurrencyInputView(amount: $amountToTransfer,
                            available: nil,
-                               title: iconOnly ? String(localized: "How much:")
+                               title: iconOnly ? String(localized: "Amount:")
                                                : String(localized: "Amount to 
withdraw:"),
                       shortcutAction: nil)
                 .padding(.top)
diff --git a/TalerWallet1/Views/HelperViews/ToSButtonView.swift 
b/TalerWallet1/Views/HelperViews/ToSButtonView.swift
index 45a2a91..87ce635 100644
--- a/TalerWallet1/Views/HelperViews/ToSButtonView.swift
+++ b/TalerWallet1/Views/HelperViews/ToSButtonView.swift
@@ -14,9 +14,12 @@ struct ToSButtonView: View {
     let viewID: Int         // either VIEW_WITHDRAW_TOS or SHEET_WITHDRAW_TOS
     let p2p: Bool
 
+    @AppStorage("iconOnly") var iconOnly: Bool = false
+
     var body: some View {
-        let hint = p2p ? String(localized: "You must accept the Exchange's 
Terms of Service first before you can receive electronic cash in your wallet.", 
comment: "P2P Receive")
-                       : String(localized: "You must accept the Exchange's 
Terms of Service first before you can use it to withdraw electronic cash to 
your wallet.")
+        let hint = iconOnly ? String(localized: "You must accept the 
Exchange's Terms of Service first.")
+                      : p2p ? String(localized: "You must accept the 
Exchange's Terms of Service first before you can receive electronic cash in 
your wallet.", comment: "P2P Receive")
+                            : String(localized: "You must accept the 
Exchange's Terms of Service first before you can use it to withdraw electronic 
cash to your wallet.")
         Text(hint)
             .accessibilityFont(.body)
             .multilineTextAlignment(.leading)
diff --git a/TalerWallet1/Views/Peer2peer/RequestPayment.swift 
b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
index 45c0441..f30bb0f 100644
--- a/TalerWallet1/Views/Peer2peer/RequestPayment.swift
+++ b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
@@ -63,7 +63,7 @@ struct RequestPayment: View {
         ScrollView { VStack(alignment: .trailing) {
             CurrencyInputView(amount: $amountToTransfer,
                            available: nil,
-                               title: iconOnly ? String(localized: "How much:")
+                               title: iconOnly ? String(localized: "Amount:")
                                                : String(localized: "Amount to 
request:"),
                       shortcutAction: shortcutAction)
                 .padding(.top)
diff --git a/TalerWallet1/Views/Peer2peer/SendAmount.swift 
b/TalerWallet1/Views/Peer2peer/SendAmount.swift
index d66f41c..d74d264 100644
--- a/TalerWallet1/Views/Peer2peer/SendAmount.swift
+++ b/TalerWallet1/Views/Peer2peer/SendAmount.swift
@@ -87,7 +87,7 @@ struct SendAmount: View {
                 .padding(.bottom, 2)
             CurrencyInputView(amount: $amountToTransfer,
                            available: amountAvailable,
-                               title: iconOnly ? String(localized: "How much:")
+                               title: iconOnly ? String(localized: "Amount:")
                                                : String(localized: "Amount to 
send:"),
                       shortcutAction: shortcutAction)
             Text(insufficient ? insufficientLabel

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