gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]