[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 01/04: unified style of buttons
From: |
gnunet |
Subject: |
[taler-taler-ios] 01/04: unified style of buttons |
Date: |
Tue, 26 Sep 2023 15:07:49 +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 893ed89b5a8d6198d06886fff7ca8f94deb26c36
Author: Marc Stibane <marc@taler.net>
AuthorDate: Tue Sep 26 09:55:00 2023 +0200
unified style of buttons
---
TalerWallet1/Views/Exchange/ManualWithdraw.swift | 4 +++-
TalerWallet1/Views/HelperViews/ToSButtonView.swift | 1 +
TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift | 5 +++--
TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift | 5 +++--
.../Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift | 5 +++--
5 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
index 5e45416..4d689c1 100644
--- a/TalerWallet1/Views/Exchange/ManualWithdraw.swift
+++ b/TalerWallet1/Views/Exchange/ManualWithdraw.swift
@@ -58,7 +58,9 @@ struct ManualWithdraw: View {
// restrictAge: restrictAge)
}) {
Text("Confirm Withdrawal") //
VIEW_WITHDRAW_ACCEPT
- }.buttonStyle(TalerButtonStyle(type: .prominent))
+ }
+ .buttonStyle(TalerButtonStyle(type: .prominent))
+ .padding(.horizontal)
} else {
ToSButtonView(exchangeBaseUrl:
exchange.exchangeBaseUrl,
viewID: VIEW_WITHDRAW_TOS,
diff --git a/TalerWallet1/Views/HelperViews/ToSButtonView.swift
b/TalerWallet1/Views/HelperViews/ToSButtonView.swift
index 9799c5d..1bcfb76 100644
--- a/TalerWallet1/Views/HelperViews/ToSButtonView.swift
+++ b/TalerWallet1/Views/HelperViews/ToSButtonView.swift
@@ -27,6 +27,7 @@ struct ToSButtonView: View {
}) {
Text("Terms of Service") // VIEW_WITHDRAW_TOS
}.buttonStyle(TalerButtonStyle(type: .prominent))
+ .padding(.horizontal)
}
}
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
index 01529fe..30251d8 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
@@ -45,8 +45,9 @@ struct P2pPayURIView: View {
incoming: false)
}) {
Text("Confirm Payment", comment:"pay P2P
request/invoice") // SHEET_PAY_P2P
- }.buttonStyle(TalerButtonStyle(type: .prominent))
- .padding()
+ }
+ .buttonStyle(TalerButtonStyle(type: .prominent))
+ .padding(.horizontal)
} else {
WithdrawProgressView(message: url.host ?? "Yikes - no valid
URL")
.navigationTitle("Contacting Exchange")
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
index 9760a2b..6ff8f16 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
@@ -46,8 +46,9 @@ struct P2pReceiveURIView: View {
incoming: true)
}) {
Text("Accept P2P Receive") // SHEET_RCV_P2P_ACCEPT
- }.buttonStyle(TalerButtonStyle(type: .prominent))
- .padding()
+ }
+ .buttonStyle(TalerButtonStyle(type: .prominent))
+ .padding(.horizontal)
} else {
ToSButtonView(exchangeBaseUrl: nil,
viewID: SHEET_RCV_P2P_TOS,
diff --git
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
index af90307..9388983 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawURIView.swift
@@ -56,8 +56,9 @@ struct WithdrawURIView: View {
url: url)
}) {
Text("Confirm Withdrawal") //
SHEET_WITHDRAW_ACCEPT
- }.buttonStyle(TalerButtonStyle(type: .prominent))
- .padding()
+ }
+ .buttonStyle(TalerButtonStyle(type: .prominent))
+ .padding(.horizontal)
} else {
ToSButtonView(exchangeBaseUrl: exchangeBaseUrl,
viewID: SHEET_WITHDRAW_TOS,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.