[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 54/204: tabBar+QR
From: |
gnunet |
Subject: |
[taler-taler-ios] 54/204: tabBar+QR |
Date: |
Thu, 05 Dec 2024 23:50:22 +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 4ac02cf133c42b08e26cce66068d6b6fab0756eb
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sat Oct 12 22:37:17 2024 +0200
tabBar+QR
---
TalerWallet1/Controllers/PublicConstants.swift | 3 +++
TalerWallet1/Views/Main/MainView.swift | 5 ++---
TalerWallet1/Views/Main/WalletEmptyView.swift | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/TalerWallet1/Controllers/PublicConstants.swift
b/TalerWallet1/Controllers/PublicConstants.swift
index 89b3eb4..07e6019 100644
--- a/TalerWallet1/Controllers/PublicConstants.swift
+++ b/TalerWallet1/Controllers/PublicConstants.swift
@@ -22,6 +22,9 @@ public let EMPTYSTRING = "" // avoid
automatic translati
public let NONBREAKING: Character = "\u{00A0}"
public let UNKNOWN = String(localized: "UNKNOWN", comment: "merchant didn't
specify the currency, use ALL CAPS")
+public let BALANCES = "chart.bar.xaxis" //
2.0 (iOS 14)
+public let SETTINGS = "gear" //
1.0 (iOS 13)
+public let QRBUTTON = "qrcode.viewfinder" //
1.0 (iOS 13)
public let CONFIRM_BANK = "circle.fill" // badge in PendingRow,
TransactionRow and TransactionSummary
public let NEEDS_KYC = "star.fill" // badge in PendingRow,
TransactionRow and TransactionSummary
diff --git a/TalerWallet1/Views/Main/MainView.swift
b/TalerWallet1/Views/Main/MainView.swift
index 47628a9..883b3d8 100644
--- a/TalerWallet1/Views/Main/MainView.swift
+++ b/TalerWallet1/Views/Main/MainView.swift
@@ -193,10 +193,9 @@ enum Tab: String, Hashable, CaseIterable {
let logo = "taler-logo-2023-red"
#endif
switch self {
- case .balances: return Image(systemName: "chart.bar.xaxis")
+ case .balances: return Image(systemName: BALANCES)
// "chart.bar.xaxis"
case .actions: return Image(logo)
-// case .overview: return Image(systemName: "dollarsign")
- case .settings: return Image(systemName: "gear")
+ case .settings: return Image(systemName: SETTINGS)
// "gear"
}
}
diff --git a/TalerWallet1/Views/Main/WalletEmptyView.swift
b/TalerWallet1/Views/Main/WalletEmptyView.swift
index 9d2710a..7a13a30 100644
--- a/TalerWallet1/Views/Main/WalletEmptyView.swift
+++ b/TalerWallet1/Views/Main/WalletEmptyView.swift
@@ -27,8 +27,8 @@ struct WalletEmptyView: View {
.talerFont(.title3)
}
Section {
- let qrButton = Image(systemName: "qrcode.viewfinder")
- let settings = Image(systemName: "gear")
+ let qrButton = Image(systemName: QRBUTTON)
// "qrcode.viewfinder"
+ let settings = Image(systemName: SETTINGS)
// "gear"
Text("Use «\(qrButton) Scan QR codes» in the Actions menu to
start a withdrawal if your bank already supports Taler payments.", comment: "«
» 'qrcode.viewfinder'")
.talerFont(.body)
.listRowSeparator(.hidden)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 25/204: layout - smaller font, (continued)
- [taler-taler-ios] 25/204: layout - smaller font, gnunet, 2024/12/05
- [taler-taler-ios] 36/204: QRButton in Actions, gnunet, 2024/12/05
- [taler-taler-ios] 29/204: getMaxPeerPushDebitAmountM for available, gnunet, 2024/12/05
- [taler-taler-ios] 39/204: A11y for amounts, gnunet, 2024/12/05
- [taler-taler-ios] 41/204: ScopePicker, gnunet, 2024/12/05
- [taler-taler-ios] 35/204: layout itself, gnunet, 2024/12/05
- [taler-taler-ios] 38/204: hint instead of warning, gnunet, 2024/12/05
- [taler-taler-ios] 42/204: no GradientBorder, gnunet, 2024/12/05
- [taler-taler-ios] 46/204: no subject, gnunet, 2024/12/05
- [taler-taler-ios] 48/204: DragGesture, gnunet, 2024/12/05
- [taler-taler-ios] 54/204: tabBar+QR,
gnunet <=
- [taler-taler-ios] 52/204: QRButton gets camera API, gnunet, 2024/12/05
- [taler-taler-ios] 57/204: innerSize, gnunet, 2024/12/05
- [taler-taler-ios] 58/204: ScopePicker, gnunet, 2024/12/05
- [taler-taler-ios] 62/204: a11y, gnunet, 2024/12/05
- [taler-taler-ios] 63/204: amount too small is no error, gnunet, 2024/12/05
- [taler-taler-ios] 64/204: shortcuts, prep for amountLastUsed, gnunet, 2024/12/05
- [taler-taler-ios] 67/204: Simplify, gnunet, 2024/12/05
- [taler-taler-ios] 68/204: cleanup, gnunet, 2024/12/05
- [taler-taler-ios] 72/204: cleanup currencyInfo, gnunet, 2024/12/05
- [taler-taler-ios] 84/204: cleanup, gnunet, 2024/12/05