gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 16/36: TransactionsArraySliceV


From: gnunet
Subject: [taler-taler-ios] 16/36: TransactionsArraySliceV
Date: Mon, 13 Nov 2023 21:27:21 +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 23dd90aad20d3f0c3093e5c4db48842e4262fe40
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Nov 12 14:10:13 2023 +0100

    TransactionsArraySliceV
---
 TalerWallet1/Views/Balances/BalancesSectionView.swift      | 11 ++++++-----
 TalerWallet1/Views/Transactions/TransactionsListView.swift |  6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift 
b/TalerWallet1/Views/Balances/BalancesSectionView.swift
index 065e24b..d53cd70 100644
--- a/TalerWallet1/Views/Balances/BalancesSectionView.swift
+++ b/TalerWallet1/Views/Balances/BalancesSectionView.swift
@@ -135,11 +135,12 @@ extension BalancesSectionView: View {
             Section {
                 let slice = completedTransactions.prefix(3)         // already 
sorted
                 let threeTransactions = Array(slice)
-                TransactionsRowsView(symLog: symLog,
-                                      stack: stack.push(),
-                               currencyInfo: currencyInfo,
-                               transactions: threeTransactions,
-                            reloadOneAction: reloadOneAction)
+                TransactionsArraySliceV(symLog: symLog,
+                                         stack: stack.push(),
+                                  currencyInfo: currencyInfo,
+//                                    currency: currency,
+                                  transactions: threeTransactions,
+                               reloadOneAction: reloadOneAction)
             } header: {
                 if !iconOnly {
                     Text("Recent transactions")
diff --git a/TalerWallet1/Views/Transactions/TransactionsListView.swift 
b/TalerWallet1/Views/Transactions/TransactionsListView.swift
index 7160969..84cad1e 100644
--- a/TalerWallet1/Views/Transactions/TransactionsListView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionsListView.swift
@@ -28,7 +28,7 @@ struct TransactionsListView: View {
         let count = transactions.count
         ScrollViewReader { scrollView in
             List {
-                TransactionsRowsView(symLog: symLog,
+                TransactionsArraySliceV(symLog: symLog,
                                       stack: stack.push(),
                                currencyInfo: currencyInfo,
                                transactions: transactions,
@@ -79,8 +79,8 @@ struct TransactionsListView: View {
     }
 }
 // MARK: -
-// used by TransactionsListView, and by Balances to show the last 3 
transactions
-struct TransactionsRowsView: View {
+// used by TransactionsListView, and by BalancesSectionView to show the last 3 
transactions
+struct TransactionsArraySliceV: View {
     let symLog: SymLogV?
     let stack: CallStack
     let currencyInfo: CurrencyInfo?

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