[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 153/204: products
From: |
gnunet |
Subject: |
[taler-taler-ios] 153/204: products |
Date: |
Thu, 05 Dec 2024 23:52:01 +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 6899f8c0e5bf50e76e560dd4361eee3fd6763142
Author: Marc Stibane <marc@taler.net>
AuthorDate: Thu Nov 21 21:58:05 2024 +0100
products
---
TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift | 3 ++-
TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift | 3 ++-
TalerWallet1/Views/Sheets/Payment/PaymentView.swift | 6 ++++--
.../Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift | 3 ++-
TalerWallet1/Views/Transactions/ThreeAmountsSection.swift | 4 +++-
5 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
index 5f0909b..933b065 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift
@@ -57,7 +57,8 @@ struct P2pPayURIView: View {
baseURL: nil,
txStateLcl: nil,
summary:
peerPullDebitResponse.contractTerms.summary,
- merchant: nil)
+ merchant: nil,
+ products: nil)
let expiration =
peerPullDebitResponse.contractTerms.purse_expiration
let (dateString, date) = TalerDater.dateString(expiration,
minimalistic)
let a11yDate = TalerDater.accessibilityDate(date) ??
dateString
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
index 27ed98f..c9f0ce5 100644
--- a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
+++ b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift
@@ -78,7 +78,8 @@ struct P2pReceiveURIView: View {
baseURL: nil,
txStateLcl: nil,
summary:
peerPushCreditResponse.contractTerms.summary,
- merchant: nil)
+ merchant: nil,
+ products: nil)
let expiration =
peerPushCreditResponse.contractTerms.purse_expiration
let (dateString, date) = TalerDater.dateString(expiration,
minimalistic)
let a11yDate = TalerDater.accessibilityDate(date) ??
dateString
diff --git a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
index 69a36b5..cf20706 100644
--- a/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
+++ b/TalerWallet1/Views/Sheets/Payment/PaymentView.swift
@@ -183,7 +183,8 @@ struct PaymentView: View, Sendable {
baseURL: baseURL,
txStateLcl: nil,
summary: terms.summary,
- merchant: terms.merchant.name)
+ merchant: terms.merchant.name,
+ products: terms.products)
// TODO: payment: popup with all possible exchanges, check
fees
} else if let balanceDetails = preparePayResult.balanceDetails
{ // Insufficient
Text("You don't have enough \(currency).")
@@ -205,7 +206,8 @@ struct PaymentView: View, Sendable {
baseURL: baseURL,
txStateLcl: nil,
summary: terms.summary,
- merchant: terms.merchant.name)
+ merchant: terms.merchant.name,
+ products: terms.products)
} else {
// TODO: Error - neither effective nor balanceDetails
Text("Error")
diff --git
a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift
b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift
index 6bed3a5..bded39c 100644
--- a/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift
+++ b/TalerWallet1/Views/Sheets/WithdrawBankIntegrated/WithdrawAcceptView.swift
@@ -88,7 +88,8 @@ struct WithdrawAcceptView: View {
baseURL: exchange.exchangeBaseUrl,
txStateLcl: nil, //
common.txState.major.localizedState
summary: nil,
- merchant: nil)
+ merchant: nil,
+ products: nil)
if let wireFee {
if !wireFee.isZero {
let currencyInfo = controller.info(for: scope,
controller.currencyTicker)
diff --git a/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift
b/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift
index 80ac0d5..9e95941 100644
--- a/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift
+++ b/TalerWallet1/Views/Transactions/ThreeAmountsSection.swift
@@ -66,7 +66,8 @@ struct ThreeAmountsSheet: View { // should be in a
separate file
baseURL: baseURL,
txStateLcl: txStateLcl,
summary: summary,
- merchant: merchant)
+ merchant: merchant,
+ products: nil)
}
}
// MARK: -
@@ -89,6 +90,7 @@ struct ThreeAmountsSection: View {
let txStateLcl: String? // localizedState
let summary: String?
let merchant: String?
+ let products: [Product]?
@Environment(\.colorScheme) private var colorScheme
@Environment(\.colorSchemeContrast) private var colorSchemeContrast
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 182/204: L10N helper, (continued)
- [taler-taler-ios] 182/204: L10N helper, gnunet, 2024/12/05
- [taler-taler-ios] 184/204: don't add to knownBankAccounts, gnunet, 2024/12/05
- [taler-taler-ios] 190/204: timeToPay w.i.p., gnunet, 2024/12/05
- [taler-taler-ios] 191/204: layout, legal hint, gnunet, 2024/12/05
- [taler-taler-ios] 194/204: A11y, gnunet, 2024/12/05
- [taler-taler-ios] 136/204: Available for transfer, gnunet, 2024/12/05
- [taler-taler-ios] 192/204: layout, gnunet, 2024/12/05
- [taler-taler-ios] 196/204: Nav header, gnunet, 2024/12/05
- [taler-taler-ios] 189/204: AccountPicker, gnunet, 2024/12/05
- [taler-taler-ios] 142/204: DepositAmountView, gnunet, 2024/12/05
- [taler-taler-ios] 153/204: products,
gnunet <=
- [taler-taler-ios] 161/204: DepositWireTypesForCurrency, gnunet, 2024/12/05
- [taler-taler-ios] 150/204: layout improvement, gnunet, 2024/12/05
- [taler-taler-ios] 152/204: fix badge, gnunet, 2024/12/05
- [taler-taler-ios] 157/204: fix flicker, gnunet, 2024/12/05
- [taler-taler-ios] 198/204: BankEditView, gnunet, 2024/12/05
- [taler-taler-ios] 164/204: amountLabel, gnunet, 2024/12/05
- [taler-taler-ios] 171/204: translations for GNU Taler, gnunet, 2024/12/05
- [taler-taler-ios] 175/204: layout, gnunet, 2024/12/05
- [taler-taler-ios] 177/204: common.scopes.first, gnunet, 2024/12/05
- [taler-taler-ios] 183/204: Section header, gnunet, 2024/12/05