gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 31/35: Expired, pending


From: gnunet
Subject: [taler-taler-ios] 31/35: Expired, pending
Date: Thu, 27 Jul 2023 09:10:04 +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 563902ee110ac7722c2a785ebbd5f188af050835
Author: Marc Stibane <marc@taler.net>
AuthorDate: Tue Jul 25 16:40:50 2023 +0200

    Expired, pending
---
 TalerWallet1/Views/Transactions/TransactionDetailView.swift | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Views/Transactions/TransactionDetailView.swift 
b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
index e1af98c..b01cd4f 100644
--- a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
@@ -109,6 +109,9 @@ struct TransactionDetailView: View {
                         if newMajor == .done {
                             symLog.log("newTxState.major == done  => dismiss 
sheet")
                             doneAction()        // if this view is in a sheet 
this action will dissmiss it
+                        } else if newMajor == .expired {
+                            symLog.log("newTxState.major == expired  => 
dismiss sheet")
+                            doneAction()        // if this view is in a sheet 
this action will dissmiss it
                         } else if newMajor == .pending {
                             if let newMinor {
                                 if newMinor == .exchangeWaitReserve { // user 
did confirm on bank website
@@ -233,7 +236,7 @@ struct TransactionDetailView: View {
                             .lineLimit(4)
                             .padding(.bottom)
                         // TODO: isSendCoins should show QR only while not 
expired
-                        if pending || transaction.isSendCoins {
+                        if pending {
                             QRCodeDetails(transaction: transaction)
                         }
                         ThreeAmountsSheet(common: common, topTitle: 
transaction.localizedType,

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