[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 129/204: currencyInfo
From: |
gnunet |
Subject: |
[taler-taler-ios] 129/204: currencyInfo |
Date: |
Thu, 05 Dec 2024 23:51:37 +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 09b789b792fa644b9c30e049539ca6e2fd2f8573
Author: Marc Stibane <marc@taler.net>
AuthorDate: Mon Nov 11 16:18:31 2024 +0100
currencyInfo
---
TalerWallet1/Views/Actions/Banking/DepositIbanV.swift | 5 ++---
TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/TalerWallet1/Views/Actions/Banking/DepositIbanV.swift
b/TalerWallet1/Views/Actions/Banking/DepositIbanV.swift
index 9029f19..882fb92 100644
--- a/TalerWallet1/Views/Actions/Banking/DepositIbanV.swift
+++ b/TalerWallet1/Views/Actions/Banking/DepositIbanV.swift
@@ -32,16 +32,15 @@ struct DepositIbanV: View {
@State private var transactionStarted: Bool = false
@State private var paytoUri: String? = nil
@FocusState private var isFocused: Bool
- @State private var currencyInfo: CurrencyInfo = CurrencyInfo.zero(UNKNOWN)
@State private var currencyName: String = UNKNOWN
@State private var currencySymbol: String = UNKNOWN
@State private var amountAvailable = Amount.zero(currency: EMPTYSTRING)
// Update currency when used
@State private var amountToTransfer = Amount.zero(currency: EMPTYSTRING)
// Update currency when used
private func buttonTitle(_ amount: Amount) -> String {
- let amountWithCurrency = amount.formatted(currencyInfo, isNegative:
true, useISO: true)
+// let amountWithCurrency = amount.formatted(currencyInfo, isNegative:
true, useISO: true)
return String(localized: "Next", comment: "advance Deposit to Amount")
- return String(localized: "Deposit \(amountWithCurrency)", comment:
"amount with currency")
+// return String(localized: "Deposit \(amountWithCurrency)", comment:
"amount with currency")
}
private var subjectTitle: String {
diff --git a/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift
b/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift
index 1321ba5..dd15046 100644
--- a/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift
+++ b/TalerWallet1/Views/Actions/Banking/ManualWithdraw.swift
@@ -94,7 +94,7 @@ struct ManualWithdraw: View {
if let balance {
let scopeInfo = balance.scopeInfo
amountToTransfer.setCurrency(scopeInfo.currency)
-// currencyInfo = controller.info(for: scopeInfo,
controller.currencyTicker)
+ currencyInfo = controller.info(for: scopeInfo,
controller.currencyTicker)
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 116/204: Settings, (continued)
- [taler-taler-ios] 116/204: Settings, gnunet, 2024/12/05
- [taler-taler-ios] 112/204: P2P, gnunet, 2024/12/05
- [taler-taler-ios] 121/204: TransactionById, gnunet, 2024/12/05
- [taler-taler-ios] 123/204: fake currency, gnunet, 2024/12/05
- [taler-taler-ios] 108/204: inputAccessory 'return', gnunet, 2024/12/05
- [taler-taler-ios] 124/204: move DB to AppSupport, gnunet, 2024/12/05
- [taler-taler-ios] 111/204: exchange, gnunet, 2024/12/05
- [taler-taler-ios] 118/204: demoHints, gnunet, 2024/12/05
- [taler-taler-ios] 126/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 128/204: less logging, gnunet, 2024/12/05
- [taler-taler-ios] 129/204: currencyInfo,
gnunet <=
- [taler-taler-ios] 131/204: wire fee, gnunet, 2024/12/05
- [taler-taler-ios] 115/204: Refund, gnunet, 2024/12/05
- [taler-taler-ios] 125/204: Button visible, gnunet, 2024/12/05
- [taler-taler-ios] 127/204: Remove "Amount too small", gnunet, 2024/12/05
- [taler-taler-ios] 130/204: Sheet logic, gnunet, 2024/12/05
- [taler-taler-ios] 117/204: Transactions, gnunet, 2024/12/05
- [taler-taler-ios] 133/204: addGlobalCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 132/204: don't reload after delete, gnunet, 2024/12/05
- [taler-taler-ios] 134/204: use addGlobalCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 145/204: baseURL, gnunet, 2024/12/05