[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.
- [taler-taler-ios] 15/36: About with explicit link to taler.net, (continued)
- [taler-taler-ios] 15/36: About with explicit link to taler.net, gnunet, 2023/11/13
- [taler-taler-ios] 28/36: Cleanup property wrappers, gnunet, 2023/11/13
- [taler-taler-ios] 22/36: amountToTransfer ManualWithdraw, gnunet, 2023/11/13
- [taler-taler-ios] 33/36: Announce shouldn't change screen, gnunet, 2023/11/13
- [taler-taler-ios] 34/36: Previews, gnunet, 2023/11/13
- [taler-taler-ios] 32/36: Shortcuts (50,25,10,5), gnunet, 2023/11/13
- [taler-taler-ios] 11/36: Debugging, gnunet, 2023/11/13
- [taler-taler-ios] 25/36: amountToTransfer Currency, gnunet, 2023/11/13
- [taler-taler-ios] 16/36: TransactionsArraySliceV, gnunet, 2023/11/13
- [taler-taler-ios] 20/36: amountToTransfer Request, gnunet, 2023/11/13
- [taler-taler-ios] 26/36: Minimalistic,
gnunet <=
- [taler-taler-ios] 31/36: Use `te´and `ku´ for previews, gnunet, 2023/11/13
- [taler-taler-ios] 10/36: @Published currencyTicker, gnunet, 2023/11/13
- [taler-taler-ios] 35/36: Check Available, accessibility, gnunet, 2023/11/13
- [taler-taler-ios] 36/36: Bump version to 0.9.3 (25), gnunet, 2023/11/13
- [taler-taler-ios] 08/36: Cleanup, gnunet, 2023/11/13