[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 36/69: b-i-withdrawal hint
From: |
gnunet |
Subject: |
[taler-taler-ios] 36/69: b-i-withdrawal hint |
Date: |
Fri, 19 Jan 2024 09:02:09 +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 a436c14ad40dee182b35448409faf763de2c3bda
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Jan 4 17:59:28 2024 +0100
b-i-withdrawal hint
---
TalerWallet1/Views/Exchange/ExchangeSectionView.swift | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
b/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
index b3fc63e..80a8e9a 100644
--- a/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
+++ b/TalerWallet1/Views/Exchange/ExchangeSectionView.swift
@@ -13,6 +13,7 @@ struct ExchangeSectionView: View {
let currency: String // this is the currency to be
used
let exchanges: [Exchange]
@Binding var amountToTransfer: Amount // does still have the wrong
currency
+ @AppStorage("iconOnly") var iconOnly: Bool = false
var body: some View {
#if PRINT_CHANGES
@@ -25,6 +26,21 @@ struct ExchangeSectionView: View {
exchange: exchange,
currency: currency, // TODO:
(balance.available) amount.isZero to disable Deposit-button
amountToTransfer: $amountToTransfer) // does still have
the wrong currency
+ .listRowSeparator(.hidden)
+ }
+ if "KUDOS" == currency {
+ let bankingHint = String(localized: "Since the demo bank
supports the Taler integration, you can start a withdrawal directly on the")
+ let linkTitle = String(localized: "LinkTitle_DEMOBANK",
defaultValue: "Demo Bank Website")
+ VStack {
+ if !iconOnly {
+ Text(bankingHint)
+ }
+ Link(linkTitle, destination: URL(string: DEMOBANK)!)
+ .buttonStyle(TalerButtonStyle(type: .bordered, narrow:
false, aligned: .center))
+ }
+ .accessibilityElement(children: .combine)
+ .accessibilityLabel(bankingHint + " " + linkTitle)
+ .padding(.top)
}
} header: {
BarGraphHeader(stack: stack.push(), currency: currency)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 59/69: bugfix, (continued)
- [taler-taler-ios] 59/69: bugfix, gnunet, 2024/01/19
- [taler-taler-ios] 43/69: currency == ISO 4217, gnunet, 2024/01/19
- [taler-taler-ios] 56/69: remove "code", since "currency" IS ISO-4217 already for global, gnunet, 2024/01/19
- [taler-taler-ios] 58/69: use scopeInfo, gnunet, 2024/01/19
- [taler-taler-ios] 52/69: return to Balances after tx, gnunet, 2024/01/19
- [taler-taler-ios] 33/69: bars relative to fontSize, gnunet, 2024/01/19
- [taler-taler-ios] 63/69: Locale.preferredLanguageCode, gnunet, 2024/01/19
- [taler-taler-ios] 40/69: Exchange -> Banking, gnunet, 2024/01/19
- [taler-taler-ios] 65/69: Restrictions, gnunet, 2024/01/19
- [taler-taler-ios] 62/69: cleanup, preview, gnunet, 2024/01/19
- [taler-taler-ios] 36/69: b-i-withdrawal hint,
gnunet <=
- [taler-taler-ios] 45/69: remove SideBarView, gnunet, 2024/01/19
- [taler-taler-ios] 69/69: Bump version to 0.9.4 (1), gnunet, 2024/01/19
- [taler-taler-ios] 61/69: InfiniteTransactionLoop, gnunet, 2024/01/19
- [taler-taler-ios] 55/69: logging, gnunet, 2024/01/19
- [taler-taler-ios] 42/69: remove payto scheme, gnunet, 2024/01/19
- [taler-taler-ios] 48/69: fix fractions, gnunet, 2024/01/19
- [taler-taler-ios] 66/69: InterfaceOrientation, gnunet, 2024/01/19
- [taler-taler-ios] 41/69: AppIcon blue, gnunet, 2024/01/19
- [taler-taler-ios] 38/69: remove, gnunet, 2024/01/19
- [taler-taler-ios] 39/69: Bump version to 0.9.3 (34), gnunet, 2024/01/19