gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 26/36: Minimalistic


From: gnunet
Subject: [taler-taler-ios] 26/36: Minimalistic
Date: Mon, 13 Nov 2023 21:27:31 +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 b274d0750c4237cf565ba9bf0abb4edfd0e53bb9
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Nov 12 23:55:36 2023 +0100

    Minimalistic
---
 TalerWallet1/Views/Exchange/ManualWithdraw.swift  | 4 +++-
 TalerWallet1/Views/Peer2peer/RequestPayment.swift | 4 +++-
 TalerWallet1/Views/Peer2peer/SendAmount.swift     | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift 
b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
index d94d5ae..ec70a52 100644
--- a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
+++ b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
@@ -14,6 +14,7 @@ struct ManualWithdraw: View {
     let exchange: Exchange
     @Binding var amountToTransfer: Amount
 
+    @AppStorage("iconOnly") var iconOnly: Bool = false
     @EnvironmentObject private var model: WalletModel
 
     @State var withdrawalAmountDetails: WithdrawalAmountDetails? = nil
@@ -33,7 +34,8 @@ struct ManualWithdraw: View {
         ScrollView {
             VStack {
                 CurrencyInputView(amount: $amountToTransfer,
-                                   title: String(localized: "Amount to 
withdraw:"))
+                                   title: iconOnly ? String(localized: "How 
much:")
+                                                   : String(localized: "Amount 
to withdraw:"))
                 let someCoins = SomeCoins(details: withdrawalAmountDetails)
                 QuiteSomeCoins(someCoins: someCoins, shouldShowFee: true,
                                currency: currency, amountEffective: 
withdrawalAmountDetails?.amountEffective)
diff --git a/TalerWallet1/Views/Peer2peer/RequestPayment.swift 
b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
index 252c97d..552114a 100644
--- a/TalerWallet1/Views/Peer2peer/RequestPayment.swift
+++ b/TalerWallet1/Views/Peer2peer/RequestPayment.swift
@@ -14,6 +14,7 @@ struct RequestPayment: View {
     @Binding var amountToTransfer: Amount
     @Binding var summary: String
 
+    @AppStorage("iconOnly") var iconOnly: Bool = false
     @EnvironmentObject private var model: WalletModel
 
     @State private var peerPullCheck: CheckPeerPullCreditResponse? = nil
@@ -29,7 +30,8 @@ struct RequestPayment: View {
 
         ScrollView { VStack {
             CurrencyInputView(amount: $amountToTransfer,
-                              title: String(localized: "Amount to request:"))
+                               title: iconOnly ? String(localized: "How much:")
+                                               : String(localized: "Amount to 
request:"))
 
             let someCoins = SomeCoins(details: peerPullCheck)
             QuiteSomeCoins(someCoins: someCoins, shouldShowFee: true,
diff --git a/TalerWallet1/Views/Peer2peer/SendAmount.swift 
b/TalerWallet1/Views/Peer2peer/SendAmount.swift
index 7aa9190..7ab91d8 100644
--- a/TalerWallet1/Views/Peer2peer/SendAmount.swift
+++ b/TalerWallet1/Views/Peer2peer/SendAmount.swift
@@ -15,6 +15,7 @@ struct SendAmount: View {
     @Binding var amountToTransfer: Amount
     @Binding var summary: String
 
+    @AppStorage("iconOnly") var iconOnly: Bool = false
     @EnvironmentObject private var model: WalletModel
 
     @State var peerPushCheck: CheckPeerPushDebitResponse? = nil
@@ -46,7 +47,8 @@ struct SendAmount: View {
                     .accessibilityFont(.title3)
                     .padding(.bottom, 2)
                 CurrencyInputView(amount: $amountToTransfer,
-                                  title: String(localized: "Amount to send:"))
+                                   title: iconOnly ? String(localized: "How 
much:")
+                                                   : String(localized: "Amount 
to send:"))
                 Text("+ \(fee) payment fee")
                     .accessibilityFont(.body)
                     .foregroundColor(.red)

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