@@ -29,7 +29,6 @@ function TransactionItemRow({
29
29
isSelected,
30
30
shouldShowTooltip,
31
31
dateColumnSize,
32
- shouldShowChatBubbleComponent = false ,
33
32
onCheckboxPress,
34
33
shouldShowCheckbox = false ,
35
34
} : {
@@ -38,7 +37,6 @@ function TransactionItemRow({
38
37
isSelected : boolean ;
39
38
shouldShowTooltip : boolean ;
40
39
dateColumnSize : TableColumnSize ;
41
- shouldShowChatBubbleComponent ?: boolean ;
42
40
onCheckboxPress : ( transactionID : string ) => void ;
43
41
shouldShowCheckbox : boolean ;
44
42
} ) {
@@ -80,8 +78,8 @@ function TransactionItemRow({
80
78
>
81
79
{ shouldUseNarrowLayout ? (
82
80
< Animated . View style = { [ animatedHighlightStyle ] } >
83
- < View style = { [ styles . expenseWidgetRadius , styles . justifyContentEvenly , styles . gap3 , bgActiveStyles ] } >
84
- < View style = { [ styles . flexRow , styles . mt3 , styles . mr3 , styles . ml3 ] } >
81
+ < View style = { [ styles . expenseWidgetRadius , styles . justifyContentEvenly , styles . p3 , bgActiveStyles ] } >
82
+ < View style = { [ styles . flexRow ] } >
85
83
{ shouldShowCheckbox && (
86
84
< View style = { [ styles . mr3 , styles . justifyContentCenter ] } >
87
85
< Checkbox
@@ -138,10 +136,10 @@ function TransactionItemRow({
138
136
) }
139
137
</ View >
140
138
</ View >
141
- < View style = { [ styles . flexRow , styles . justifyContentBetween , styles . mh3 , styles . mb3 ] } >
142
- < View style = { [ styles . flexColumn , styles . gap2 ] } >
139
+ < View style = { [ styles . flexRow , styles . justifyContentBetween , styles . alignItemsCenter ] } >
140
+ < View style = { [ styles . flexColumn ] } >
143
141
{ hasCategoryOrTag && (
144
- < View style = { [ styles . flexRow , styles . alignItemsCenter , styles . gap2 ] } >
142
+ < View style = { [ styles . flexRow , styles . alignItemsCenter , styles . gap2 , styles . mt3 ] } >
145
143
< CategoryCell
146
144
transactionItem = { transactionItem }
147
145
shouldShowTooltip = { shouldShowTooltip }
@@ -154,9 +152,15 @@ function TransactionItemRow({
154
152
/>
155
153
</ View >
156
154
) }
157
- < TransactionItemRowRBR transaction = { transactionItem } />
155
+ < TransactionItemRowRBR
156
+ transaction = { transactionItem }
157
+ containerStyles = { [ styles . mt3 ] }
158
+ />
158
159
</ View >
159
- { shouldShowChatBubbleComponent && < ChatBubbleCell transaction = { transactionItem } /> }
160
+ < ChatBubbleCell
161
+ transaction = { transactionItem }
162
+ containerStyles = { [ styles . mt3 ] }
163
+ />
160
164
</ View >
161
165
</ View >
162
166
</ Animated . View >
@@ -215,7 +219,7 @@ function TransactionItemRow({
215
219
/>
216
220
</ View >
217
221
< View style = { [ StyleUtils . getReportTableColumnStyles ( CONST . REPORT . TRANSACTION_LIST . COLUMNS . COMMENTS ) ] } >
218
- { shouldShowChatBubbleComponent && < ChatBubbleCell transaction = { transactionItem } /> }
222
+ < ChatBubbleCell transaction = { transactionItem } />
219
223
</ View >
220
224
< View style = { [ StyleUtils . getReportTableColumnStyles ( CONST . SEARCH . TABLE_COLUMNS . TOTAL_AMOUNT ) ] } >
221
225
< TotalCell
0 commit comments