File tree Expand file tree Collapse file tree 1 file changed +28
-28
lines changed
BDKSwiftExampleWallet/View/Activity Expand file tree Collapse file tree 1 file changed +28
-28
lines changed Original file line number Diff line number Diff 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, _) :
You can’t perform that action at this time.
0 commit comments