commit 73d0a8beaafd74b2791a519f7cd5cc90cf2455f8 parent cad0bd7b0bce87dbf4db48dcf14592ebc42134bb Author: Marc Stibane <marc@taler.net> Date: Tue, 16 Sep 2025 17:35:03 +0000 isOutgoing Diffstat:
| M | TalerWallet1/Model/Transaction.swift | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Model/Transaction.swift b/TalerWallet1/Model/Transaction.swift @@ -357,6 +357,12 @@ struct TransactionCommon: Decodable, Sendable { || type == .refund || type == .peerPullCredit || type == .scanPushCredit } + var isOutgoing : Bool { type == .deposit + || type == .payment + || type == .peerPushDebit + || type == .scanPullDebit + || type == .recoup + || type == .denomLoss } var isPending : Bool { txState.major == .pending } var isPendingReady : Bool { isPending && txState.isReady }