Skip to content

Commit 7f49f15

Browse files
committed
refactor: remove sent icon ui
1 parent 38f72e5 commit 7f49f15

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

BDKSwiftExampleWallet/View/Activity/TransactionItemView.swift

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -45,34 +45,34 @@ struct TransactionItemView: View {
4545
.redacted(reason: isRedacted ? .placeholder : [])
4646

4747
HStack {
48-
if isRedacted {
49-
Image(
50-
systemName:
51-
"circle.fill"
52-
)
53-
.symbolRenderingMode(.palette)
54-
.foregroundStyle(
55-
Color.gray.opacity(0.5)
56-
)
57-
} else {
58-
ZStack {
59-
Image(
60-
systemName:
61-
txDetails.balanceDelta >= 0
62-
? "arrow.down" : "arrow.up"
63-
)
64-
.foregroundStyle(
65-
{
66-
switch txDetails.chainPosition {
67-
case .confirmed(_, _):
68-
Color.bitcoinOrange
69-
case .unconfirmed(_):
70-
Color.gray.opacity(0.5)
71-
}
72-
}()
73-
)
74-
}
75-
}
48+
// if isRedacted {
49+
// Image(
50+
// systemName:
51+
// "circle.fill"
52+
// )
53+
// .symbolRenderingMode(.palette)
54+
// .foregroundStyle(
55+
// Color.gray.opacity(0.5)
56+
// )
57+
// } else {
58+
// ZStack {
59+
// Image(
60+
// systemName:
61+
// txDetails.balanceDelta >= 0
62+
// ? "arrow.down" : "arrow.up"
63+
// )
64+
// .foregroundStyle(
65+
// {
66+
// switch txDetails.chainPosition {
67+
// case .confirmed(_, _):
68+
// Color.bitcoinOrange
69+
// case .unconfirmed(_):
70+
// Color.gray.opacity(0.5)
71+
// }
72+
// }()
73+
// )
74+
// }
75+
// }
7676

7777
switch txDetails.chainPosition {
7878
case .confirmed(let confirmationBlockTime, _):

0 commit comments

Comments
 (0)