commit fa29368d2269e1b94ca1a023d28dbaccebc6317f
parent cc2b764f447e0c81c19c0641cee6183e85052913
Author: Marc Stibane <marc@taler.net>
Date: Thu, 10 Sep 2026 15:14:50 +0200
Only show link to merchant if payment is done
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift b/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift
@@ -50,7 +50,7 @@ struct TransactionPayDetailV: View {
Text(info.orderId)
.talerFont(.body)
- if let fulfillmentUrl = info.fulfillmentUrl {
+ if let fulfillmentUrl = info.fulfillmentUrl, common.isDone {
// per api-common.rst's WebURL definition, fulfillment_url must be http(s) -
// reject any other scheme (tel:, sms:, a third-party app's custom scheme, ...)
if let destination = URL(string: fulfillmentUrl),