gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-ios] 11/35: monospacedDigit


From: gnunet
Subject: [taler-taler-ios] 11/35: monospacedDigit
Date: Thu, 27 Jul 2023 09:09:44 +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 d9dde4b18c29dc8fa622d5397b509a7c40a6bb88
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Jul 19 12:22:18 2023 +0200

    monospacedDigit
---
 TalerWallet1/Controllers/DebugViewC.swift                | 1 +
 TalerWallet1/Views/Balances/BalanceRowView.swift         | 1 +
 TalerWallet1/Views/Balances/PendingRowView.swift         | 1 +
 TalerWallet1/Views/HelperViews/AmountView.swift          | 1 +
 TalerWallet1/Views/Sheets/Sheet.swift                    | 1 +
 TalerWallet1/Views/Transactions/ManualDetails.swift      | 3 +++
 TalerWallet1/Views/Transactions/TransactionRowView.swift | 1 +
 7 files changed, 9 insertions(+)

diff --git a/TalerWallet1/Controllers/DebugViewC.swift 
b/TalerWallet1/Controllers/DebugViewC.swift
index 0d587db..da0a805 100644
--- a/TalerWallet1/Controllers/DebugViewC.swift
+++ b/TalerWallet1/Controllers/DebugViewC.swift
@@ -118,6 +118,7 @@ struct DebugViewV: View {
             Text(viewIDString)
                 .font(.caption2)
                 .foregroundColor(.red)
+                .monospacedDigit()
             Spacer()
         }
         .edgesIgnoringSafeArea(.top)
diff --git a/TalerWallet1/Views/Balances/BalanceRowView.swift 
b/TalerWallet1/Views/Balances/BalanceRowView.swift
index 5c215b3..89a5a15 100644
--- a/TalerWallet1/Views/Balances/BalanceRowView.swift
+++ b/TalerWallet1/Views/Balances/BalanceRowView.swift
@@ -23,6 +23,7 @@ struct BalanceButton: View {
                 }
                 Text(verbatim: "\(amount.valueStr)")  // TODO: 
CurrencyFormatter?
                     .font(.title)
+                    .monospacedDigit()
             }
         }   .disabled(false)
             .accessibilityElement(children: 
/*@START_MENU_TOKEN@*/.ignore/*@END_MENU_TOKEN@*/)
diff --git a/TalerWallet1/Views/Balances/PendingRowView.swift 
b/TalerWallet1/Views/Balances/PendingRowView.swift
index 5825fce..657b1a6 100644
--- a/TalerWallet1/Views/Balances/PendingRowView.swift
+++ b/TalerWallet1/Views/Balances/PendingRowView.swift
@@ -28,6 +28,7 @@ struct PendingRowView: View {
                 Text(valueStr)
                     .font(.title)
                     .foregroundColor(WalletColors().pendingColor(incoming))
+                    .monospacedDigit()
 //                Text("PENDING")
 //                    .font(.callout)
 //                    .foregroundColor(WalletColors().pendingColor(incoming))
diff --git a/TalerWallet1/Views/HelperViews/AmountView.swift 
b/TalerWallet1/Views/HelperViews/AmountView.swift
index 1d059cb..ceaa457 100644
--- a/TalerWallet1/Views/HelperViews/AmountView.swift
+++ b/TalerWallet1/Views/HelperViews/AmountView.swift
@@ -22,6 +22,7 @@ struct AmountView: View {
                     .font(large ? .title : .title2)
 //                    .fontWeight(large ? .medium : .regular)  // 
@available(iOS 16.0, *)
                     .foregroundColor(color)
+                    .monospacedDigit()
                 Spacer()
             }
         }
diff --git a/TalerWallet1/Views/Sheets/Sheet.swift 
b/TalerWallet1/Views/Sheets/Sheet.swift
index c85966c..abc564b 100644
--- a/TalerWallet1/Views/Sheets/Sheet.swift
+++ b/TalerWallet1/Views/Sheets/Sheet.swift
@@ -36,6 +36,7 @@ struct Sheet: View {
             Text(idString)
                 .font(.caption2)
                 .foregroundColor(.purple)
+                .monospacedDigit()
                 .edgesIgnoringSafeArea(.top)
                 .id("sheetID")
         }
diff --git a/TalerWallet1/Views/Transactions/ManualDetails.swift 
b/TalerWallet1/Views/Transactions/ManualDetails.swift
index fd6db87..aa966d9 100644
--- a/TalerWallet1/Views/Transactions/ManualDetails.swift
+++ b/TalerWallet1/Views/Transactions/ManualDetails.swift
@@ -15,9 +15,11 @@ struct ManualDetails: View {
             let iban = payURL?.iban ?? "unknown IBAN"
             let amount = common.amountRaw.readableDescription
             Text("Make a wire transfer of \(amount) to:")
+                .monospacedDigit()
                 .listRowSeparator(.hidden)
             HStack {
                 Text(iban)
+                    .monospacedDigit()
                 Spacer()
                 CopyButton(textToCopy: iban, vertical: true)
                     .accessibilityLabel("Copy IBAN")
@@ -29,6 +31,7 @@ struct ManualDetails: View {
                 .listRowSeparator(.hidden)
             HStack {
                 Text(details.reservePub)
+                    .monospacedDigit()
                     .accessibilityLabel("Taler cryptocode")
                 Spacer()
                 CopyButton(textToCopy: details.reservePub, vertical: true)
diff --git a/TalerWallet1/Views/Transactions/TransactionRowView.swift 
b/TalerWallet1/Views/Transactions/TransactionRowView.swift
index 1966234..cf57414 100644
--- a/TalerWallet1/Views/Transactions/TransactionRowView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionRowView.swift
@@ -53,6 +53,7 @@ struct TransactionRowView: View {
                 Text(valueStr)
                     .font(.title)
                     .foregroundColor(foreColor)
+                    .monospacedDigit()
             }
         }
         .accessibilityElement(children: .combine)

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