gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 19/36: amountToTransfer Pending


From: gnunet
Subject: [taler-taler-ios] 19/36: amountToTransfer Pending
Date: Mon, 13 Nov 2023 21:27:24 +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 0d09d7df346fde190f097a215d9fcf8c8ab7d037
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Nov 12 18:12:36 2023 +0100

    amountToTransfer Pending
---
 TalerWallet1/Views/Balances/PendingRowView.swift | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/TalerWallet1/Views/Balances/PendingRowView.swift 
b/TalerWallet1/Views/Balances/PendingRowView.swift
index 52cd56d..75800d7 100644
--- a/TalerWallet1/Views/Balances/PendingRowView.swift
+++ b/TalerWallet1/Views/Balances/PendingRowView.swift
@@ -53,7 +53,6 @@ struct PendingRowContentV: View {
 /// This view shows a pending transaction row in a currency section
 struct PendingRowView: View {
     let amount: Amount
-    let currencyInfo: CurrencyInfo?
     let incoming: Bool
 
     @Environment(\.sizeCategory) var sizeCategory
@@ -124,13 +123,11 @@ func PreviewCurrencyInfo(_ currency: String, digits: Int) 
-> CurrencyInfo {
 
 struct PendingRowView_Previews: PreviewProvider {
     static var previews: some View {
-        let testInfo = PreviewCurrencyInfo(TESTCURRENCY, digits: 0)
-        let demoInfo = PreviewCurrencyInfo(TESTCURRENCY, digits: 2)
         let test = Amount(currency: TESTCURRENCY, cent: 123)
         let demo = Amount(currency: DEMOCURRENCY, cent: 123456)
         List {
-            PendingRowView(amount: test, currencyInfo: testInfo, incoming: 
true)
-            PendingRowView(amount: demo, currencyInfo: demoInfo, incoming: 
false)
+            PendingRowView(amount: test, incoming: true)
+            PendingRowView(amount: demo, incoming: false)
         }
     }
 }

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