[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 09/24: cleanup
From: |
gnunet |
Subject: |
[taler-taler-ios] 09/24: cleanup |
Date: |
Tue, 05 Dec 2023 16:26:05 +0100 |
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 cfd6c037afeea4321a261c527875c14a32cee405
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Nov 29 16:17:28 2023 +0100
cleanup
---
TalerWallet1/Views/Balances/BalanceRowView.swift | 1 -
TalerWallet1/Views/Balances/BalancesSectionView.swift | 2 +-
TalerWallet1/Views/Exchange/ExchangeRowView.swift | 4 ++--
TalerWallet1/Views/Exchange/ExchangeSectionView.swift | 4 ++--
TalerWallet1/Views/Transactions/TransactionDetailView.swift | 5 +----
5 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/TalerWallet1/Views/Balances/BalanceRowView.swift
b/TalerWallet1/Views/Balances/BalanceRowView.swift
index 1a5f8de..37222f0 100644
--- a/TalerWallet1/Views/Balances/BalanceRowView.swift
+++ b/TalerWallet1/Views/Balances/BalanceRowView.swift
@@ -30,7 +30,6 @@ struct BalanceButton: View {
Text(title)
.accessibilityFont(.title2)
.foregroundColor(colorSchemeContrast == .increased
? .primary : .secondary)
-// .foregroundColor(moreContrast ? .primary :
.secondary)
}
}
}
diff --git a/TalerWallet1/Views/Balances/BalancesSectionView.swift
b/TalerWallet1/Views/Balances/BalancesSectionView.swift
index d80f6ee..f6306d1 100644
--- a/TalerWallet1/Views/Balances/BalancesSectionView.swift
+++ b/TalerWallet1/Views/Balances/BalancesSectionView.swift
@@ -113,7 +113,7 @@ extension BalancesSectionView: View {
if !iconOnly {
Text("Recent transactions")
.accessibilityFont(.callout)
-// .foregroundColor(moreContrast ? .primary :
.secondary)
+// .foregroundColor(colorSchemeContrast == .increased ?
.primary : .secondary)
}
}
} // recent transactions
diff --git a/TalerWallet1/Views/Exchange/ExchangeRowView.swift
b/TalerWallet1/Views/Exchange/ExchangeRowView.swift
index 3ba0818..afb6b22 100644
--- a/TalerWallet1/Views/Exchange/ExchangeRowView.swift
+++ b/TalerWallet1/Views/Exchange/ExchangeRowView.swift
@@ -88,7 +88,7 @@ struct ExchangeRowView: View {
// MARK: -
#if DEBUG
fileprivate struct ExchangeRow_Container : View {
- @State private var amountToTransfer = Amount(currency: LONGCURRENCY, cent:
1234)
+ @State private var amountToPreview = Amount(currency: LONGCURRENCY, cent:
1234)
// let amount = Amount(currency: LONGCURRENCY, cent: 123456)
var body: some View {
@@ -109,7 +109,7 @@ fileprivate struct ExchangeRow_Container : View {
ExchangeRowView(stack: CallStack("Preview"),
exchange: exchange1,
currency: LONGCURRENCY,
- amountToTransfer: $amountToTransfer)
+ amountToTransfer: $amountToPreview)
}
}
diff --git a/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
b/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
index 4664d50..63e1f28 100644
--- a/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
+++ b/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
@@ -41,7 +41,7 @@ struct ExchangeSectionView: View {
#if DEBUG
fileprivate struct ExchangeSection_Previews: PreviewProvider {
fileprivate struct ExchangeRow_Container : View {
- @State private var amountToTransfer = Amount(currency: LONGCURRENCY, cent:
1234)
+ @State private var amountToPreview = Amount(currency: LONGCURRENCY, cent:
1234)
// let amount = Amount(currency: LONGCURRENCY, cent: 123456)
var body: some View {
@@ -61,7 +61,7 @@ fileprivate struct ExchangeRow_Container : View {
ageRestrictionOptions: [])
ExchangeSectionView(stack: CallStack("Preview"), currency:
LONGCURRENCY,
exchanges: [exchange1, exchange2],
- amountToTransfer: $amountToTransfer)
+ amountToTransfer: $amountToPreview)
}
}
diff --git a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
index 4338861..34e8c88 100644
--- a/TalerWallet1/Views/Transactions/TransactionDetailView.swift
+++ b/TalerWallet1/Views/Transactions/TransactionDetailView.swift
@@ -126,7 +126,6 @@ struct TransactionDetailView: View {
.accessibilityFont(.body)
.accessibilityLabel(accessibilityDate)
.foregroundColor(colorSchemeContrast == .increased ?
.primary : .secondary)
-// .foregroundColor(moreContrast ? .primary : .secondary)
.listRowSeparator(.hidden)
HStack {
Text(verbatim: "|") // only reason for this
leading-aligned text is to get a nice full length listRowSeparator
@@ -279,9 +278,7 @@ struct TransactionDetailView: View {
case .payment(let paymentTransaction):
let details = paymentTransaction.details
Text(details.info.summary)
- .accessibilityFont(.title2)
- .lineLimit(4)
- .padding(.bottom)
+ .accessibilityFont(.title3)
ThreeAmountsSheet(common: common, topAbbrev:
String(localized: "Pay:"),
topTitle: String(localized: "Sum to be
paid:"),
baseURL: nil, large: true) //
TODO: baseURL
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] branch master updated (be6a335 -> 989c5ea), gnunet, 2023/12/05
- [taler-taler-ios] 03/24: Fix KYC/Confirm, gnunet, 2023/12/05
- [taler-taler-ios] 05/24: Refund, gnunet, 2023/12/05
- [taler-taler-ios] 07/24: Only main title, gnunet, 2023/12/05
- [taler-taler-ios] 06/24: Exchange: ToS, gnunet, 2023/12/05
- [taler-taler-ios] 04/24: ViewThatFits, gnunet, 2023/12/05
- [taler-taler-ios] 02/24: New "flags", gnunet, 2023/12/05
- [taler-taler-ios] 09/24: cleanup,
gnunet <=
- [taler-taler-ios] 23/24: shortcutAction, gnunet, 2023/12/05
- [taler-taler-ios] 01/24: Logging, gnunet, 2023/12/05
- [taler-taler-ios] 21/24: amountToTransfer, gnunet, 2023/12/05
- [taler-taler-ios] 08/24: talerURI only sent if valid, gnunet, 2023/12/05
- [taler-taler-ios] 17/24: currency & -Info, gnunet, 2023/12/05
- [taler-taler-ios] 19/24: use #0042b3, gnunet, 2023/12/05
- [taler-taler-ios] 10/24: increasedContrast, gnunet, 2023/12/05
- [taler-taler-ios] 14/24: Bump version to 0.9.3 (29), gnunet, 2023/12/05
- [taler-taler-ios] 20/24: Bump version to 0.9.3 (30), gnunet, 2023/12/05
- [taler-taler-ios] 11/24: Payment: show what to pay for, gnunet, 2023/12/05