[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 82/204: cleanup
From: |
gnunet |
Subject: |
[taler-taler-ios] 82/204: cleanup |
Date: |
Thu, 05 Dec 2024 23:50:50 +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 c38a84273e3ab01e7ed5a4aecc51423d195c1b63
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sat Oct 19 17:30:03 2024 +0200
cleanup
---
TalerWallet1/Views/HelperViews/AmountInputV.swift | 6 ------
TalerWallet1/Views/Main/MainView.swift | 15 ++++++++-------
2 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/TalerWallet1/Views/HelperViews/AmountInputV.swift
b/TalerWallet1/Views/HelperViews/AmountInputV.swift
index 9c5d2bc..82eee24 100644
--- a/TalerWallet1/Views/HelperViews/AmountInputV.swift
+++ b/TalerWallet1/Views/HelperViews/AmountInputV.swift
@@ -87,12 +87,6 @@ struct AmountInputV: View {
let currency = amountToTransfer.currencyStr
// let insufficientLabel = String(localized: "You don't have enough
\(currency).")
VStack(alignment: .trailing) {
-// if summary.count > 0 {
-// Text(summary)
-// .talerFont(.body)
-// .foregroundColor(WalletColors().secondary(colorScheme,
colorSchemeContrast))
-// .padding(4)
-// }
CurrencyInputView(currencyInfo: currencyInfo,
amount: $amountToTransfer,
amountLastUsed: amountLastUsed,
diff --git a/TalerWallet1/Views/Main/MainView.swift
b/TalerWallet1/Views/Main/MainView.swift
index 0add4ba..368f312 100644
--- a/TalerWallet1/Views/Main/MainView.swift
+++ b/TalerWallet1/Views/Main/MainView.swift
@@ -285,6 +285,7 @@ extension MainView {
}
private static func className() -> String {"\(self)"}
+ private static var name: String { Self.className() }
var body: some View {
#if PRINT_CHANGES
// "@self" marks that the view value itself has changed, and
"@identity" marks that the
@@ -320,17 +321,17 @@ extension MainView {
url: DEMOEXCHANGE,
currency: DEMOCURRENCY)
- let sendDest = SendAmountV(stack:
stack.push("\(Self.className())()"),
- selectedBalance: $selectedBalance, //
if nil shows currency picker
- amountLastUsed: $amountLastUsed, //
currency needs to be updated!
+ let sendDest = SendAmountV(stack: stack.push(Self.name),
+ selectedBalance: $selectedBalance,
// if nil shows currency picker
+ amountLastUsed: $amountLastUsed,
// currency needs to be updated!
summary: $summary)
- let requestDest = RequestPayment(stack:
stack.push("\(Self.className())()"),
+ let requestDest = RequestPayment(stack: stack.push(Self.name),
selectedBalance: $selectedBalance,
- amountLastUsed: $amountLastUsed, //
currency needs to be updated!
+ amountLastUsed: $amountLastUsed,
// currency needs to be updated!
summary: $summary)
- let depositDest = DepositIbanV(stack: stack.push(),
+ let depositDest = DepositIbanV(stack: stack.push(Self.name),
selectedBalance: $selectedBalance,
feeLabel: nil,
feeIsNotZero: nil,
@@ -338,7 +339,7 @@ extension MainView {
// accountHolder: $accountHolder,
amountLastUsed: $amountLastUsed)
- let manualWithdrawDest = ManualWithdraw(stack: stack.push(),
+ let manualWithdrawDest = ManualWithdraw(stack:
stack.push(Self.name),
selectedBalance: $selectedBalance,
isSheet: false,
scopeInfo: scope,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 69/204: Reorg, (continued)
- [taler-taler-ios] 69/204: Reorg, gnunet, 2024/12/05
- [taler-taler-ios] 73/204: Published balances, gnunet, 2024/12/05
- [taler-taler-ios] 78/204: use info(for:scope), gnunet, 2024/12/05
- [taler-taler-ios] 85/204: ScopePicker, gnunet, 2024/12/05
- [taler-taler-ios] 87/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 77/204: info2, gnunet, 2024/12/05
- [taler-taler-ios] 75/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 80/204: scope from balance, gnunet, 2024/12/05
- [taler-taler-ios] 79/204: -Binding, gnunet, 2024/12/05
- [taler-taler-ios] 81/204: iterate over balances, gnunet, 2024/12/05
- [taler-taler-ios] 82/204: cleanup,
gnunet <=
- [taler-taler-ios] 90/204: Onboarding, gnunet, 2024/12/05
- [taler-taler-ios] 100/204: Minimalistic date, gnunet, 2024/12/05
- [taler-taler-ios] 93/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 103/204: add amount, gnunet, 2024/12/05
- [taler-taler-ios] 76/204: CurrencySpecification, gnunet, 2024/12/05
- [taler-taler-ios] 88/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 74/204: - currencyName, gnunet, 2024/12/05
- [taler-taler-ios] 83/204: Comments, gnunet, 2024/12/05
- [taler-taler-ios] 89/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 92/204: take out scroll-end-buttons, gnunet, 2024/12/05