commit e96c0d5c112c7e631406d285a5ed9cddc0266010
parent 7d6201c659d8f46da9e2d0411fd697b59292b064
Author: Marc Stibane <marc@taler.net>
Date: Mon, 7 Apr 2025 21:03:10 +0200
icon_id
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Model/Model+P2P.swift b/TalerWallet1/Model/Model+P2P.swift
@@ -16,6 +16,7 @@ struct PeerContractTerms: Codable {
let amount: Amount
let summary: String
let purse_expiration: Timestamp
+ let icon_id: String?
}
// MARK: - max PeerPushDebit amount
/// Check if initiating a peer push payment is possible, check fees
diff --git a/TalerWallet1/Views/Actions/Peer2peer/P2PReadyV.swift b/TalerWallet1/Views/Actions/Peer2peer/P2PReadyV.swift
@@ -47,7 +47,8 @@ struct P2PReadyV: View {
: Timestamp.inSomeDays(expireDays)
let terms = PeerContractTerms(amount: amountToTransfer,
summary: summary,
- purse_expiration: timestamp)
+ purse_expiration: timestamp,
+ icon_id: nil)
if outgoing {
// TODO: let user choose baseURL
if let response = try? await model.initiatePeerPushDebit(scope: scope, terms: terms) {