commit 6b7b0d3a7984b309507da03b4087041799462f7c
parent adc8957420b43560b107d5c249439be636bcc67b
Author: Marc Stibane <marc@taler.net>
Date: Thu, 11 Dec 2025 23:09:46 +0100
view debug
Diffstat:
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Views/Transactions/TransactionRowView.swift b/TalerWallet1/Views/Transactions/TransactionRowView.swift
@@ -161,6 +161,9 @@ struct TransactionRowView: View {
.accessibilityLabel(a11yLabel)
}
TransactionTimeline(timestamp: common.timestamp, textColor: textColor, layout: 0, maxLines: 1)
+#if DEBUG
+ .border(green)
+#endif
}
// .border(orange)
Spacer(minLength: 0)
@@ -186,6 +189,9 @@ struct TransactionRowView: View {
}
HStack(spacing: 6) {
TransactionTimeline(timestamp: common.timestamp, textColor: textColor, layout: 1, maxLines: 1)
+#if DEBUG
+ .border(green)
+#endif
Spacer(minLength: 0)
amountV
#if DEBUG
@@ -215,9 +221,15 @@ struct TransactionRowView: View {
#endif
}
TransactionTimeline(timestamp: common.timestamp, textColor: textColor, layout: 2, maxLines: 10)
+#if DEBUG
+ .border(green)
+#endif
} else { // no top, bottom & amount
HStack(spacing: 6) {
TransactionTimeline(timestamp: common.timestamp, textColor: textColor, layout: 2, maxLines: 10)
+#if DEBUG
+ .border(green)
+#endif
Spacer(minLength: 2)
amountV
#if DEBUG
@@ -252,6 +264,9 @@ struct TransactionRowView: View {
#endif
}
TransactionTimeline(timestamp: common.timestamp, textColor: textColor, layout: 3, maxLines: 10)
+#if DEBUG
+ .border(green)
+#endif
}
HStack {