gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 01/03: Added summary for P2P in Detail View


From: gnunet
Subject: [taler-taler-ios] 01/03: Added summary for P2P in Detail View
Date: Wed, 05 Jul 2023 14:11:43 +0200

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 d1251ec20baf72e33dab99730077fa68b02777ee
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Jul 5 14:09:12 2023 +0200

    Added summary for P2P in Detail View
---
 TalerWallet1/Views/Transactions/TransactionDetailView.swift | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/Transactions/TransactionDetailView.swift 
b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
index 6c35345..0c87221 100644
--- a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
@@ -197,9 +197,8 @@ struct TransactionDetailView: View {
                                          baseURL: details.exchangeBaseUrl, 
large: false)
                     case .payment(let paymentTransaction):
                         let details = paymentTransaction.details
-                        let info = details.info
-                        Text(info.summary)
-                            .font(.title)
+                        Text(details.info.summary)
+                            .font(.title2)
                             .lineLimit(4)
                             .padding(.bottom)
                         ThreeAmountsSheet(common: common, topTitle: 
String(localized: "Sum to be paid:"),
@@ -222,6 +221,10 @@ struct TransactionDetailView: View {
                                          baseURL: nil, large: true)     // 
TODO: baseURL
                     case .peer2peer(let p2pTransaction):
                         let details = p2pTransaction.details                   
 // TODO: details
+                        Text(details.info.summary)
+                            .font(.title2)
+                            .lineLimit(4)
+                            .padding(.bottom)
                         // TODO: isSendCoins should show QR only while not 
expired
                         if pending || transaction.isSendCoins {
                             QRCodeDetails(transaction: transaction)

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