gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]