[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.
- [taler-taler-ios] branch master updated (ad57348 -> dbf44d6), gnunet, 2023/07/27
- [taler-taler-ios] 01/35: Test notes, gnunet, 2023/07/27
- [taler-taler-ios] 03/35: logging, gnunet, 2023/07/27
- [taler-taler-ios] 05/35: insufficientBalance, gnunet, 2023/07/27
- [taler-taler-ios] 02/35: navigationBarTitleDisplayMode, gnunet, 2023/07/27
- [taler-taler-ios] 06/35: no need to call urlCommand async, gnunet, 2023/07/27
- [taler-taler-ios] 10/35: Atkinson Hyperlegible, gnunet, 2023/07/27
- [taler-taler-ios] 09/35: localizations, wording, gnunet, 2023/07/27
- [taler-taler-ios] 08/35: iOS 15: show ToS, gnunet, 2023/07/27
- [taler-taler-ios] 11/35: monospacedDigit,
gnunet <=
- [taler-taler-ios] 07/35: iOS: bump version to 0.9.3 (15), gnunet, 2023/07/27
- [taler-taler-ios] 04/35: Settings: Reset wallet, gnunet, 2023/07/27
- [taler-taler-ios] 18/35: Expiration Constants, gnunet, 2023/07/27
- [taler-taler-ios] 19/35: Move Status to top, gnunet, 2023/07/27
- [taler-taler-ios] 25/35: Simplified, gnunet, 2023/07/27
- [taler-taler-ios] 12/35: PayTo URL listRowSeparator, gnunet, 2023/07/27
- [taler-taler-ios] 14/35: Sound for Expired, gnunet, 2023/07/27
- [taler-taler-ios] 27/35: Postpone update until onAppear, gnunet, 2023/07/27
- [taler-taler-ios] 31/35: Expired, pending, gnunet, 2023/07/27
- [taler-taler-ios] 35/35: iOS: bump version to 0.9.3 (16), gnunet, 2023/07/27