taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 87193d080ddfb1ef7050e1835639438976a98c98
parent b686657cf603f21a3ee9c915256ab39eaf7e97ef
Author: Marc Stibane <marc@taler.net>
Date:   Fri, 27 Jun 2025 09:44:38 +0200

switch prominent button color for payments

Diffstat:
MTalerWallet1/Views/Sheets/Payment/PaymentDone.swift | 2+-
MTalerWallet1/Views/Transactions/TransactionPayDetailV.swift | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentDone.swift b/TalerWallet1/Views/Sheets/Payment/PaymentDone.swift @@ -54,7 +54,7 @@ struct PaymentDone: View { .navigationTitle(navTitle) .safeAreaInset(edge: .bottom) { Button("Done") { dismissTop(stack.push()) } - .buttonStyle(TalerButtonStyle(type: .prominent)) + .buttonStyle(TalerButtonStyle(type: .bordered)) .padding(.horizontal) } } else { diff --git a/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift b/TalerWallet1/Views/Transactions/TransactionPayDetailV.swift @@ -36,7 +36,7 @@ struct TransactionPayDetailV: View { if let destination = URL(string: fulfillmentUrl) { let buttonTitle = info.fulfillmentMessage ?? String(localized: "Open merchant website") Link(buttonTitle, destination: destination) - .buttonStyle(TalerButtonStyle(type: .bordered)) + .buttonStyle(TalerButtonStyle(type: .prominent)) .accessibilityHint(String(localized: "Will go to the merchant website.", comment: "a11y")) } } else if let fulfillmentMessage = info.fulfillmentMessage {