@@ -68,7 +68,7 @@ function TransactionListItem<TItem extends ListItem>({
6868 const theme = useTheme ( ) ;
6969 const StyleUtils = useStyleUtils ( ) ;
7070
71- const { isLargeScreenWidth, shouldUseNarrowLayout } = useResponsiveLayout ( ) ;
71+ const { isLargeScreenWidth} = useResponsiveLayout ( ) ;
7272 const { currentSearchHash, currentSearchKey, currentSearchResults} = useSearchStateContext ( ) ;
7373 const snapshotReport = ( currentSearchResults ?. data ?. [ `${ ONYXKEYS . COLLECTION . REPORT } ${ transactionItem . reportID } ` ] ?? { } ) as Report ;
7474
@@ -122,6 +122,7 @@ function TransactionListItem<TItem extends ListItem>({
122122 }
123123 : { ...styles . flexColumn , ...styles . alignItemsStretch } ,
124124 isLargeScreenWidth && isLastItem && [ styles . searchTableBottomRadius , styles . overflowHidden ] ,
125+ ! isLargeScreenWidth && ! isLastItem && StyleUtils . getSelectedBorderBottomStyle ( item . isSelected ) ,
125126 ! isLargeScreenWidth && isFirstItem && [ styles . searchTableTopRadius , styles . overflowHidden ] ,
126127 ! isLargeScreenWidth && isLastItem && [ styles . searchTableBottomRadius , styles . overflowHidden ] ,
127128 ] ;
@@ -226,7 +227,6 @@ function TransactionListItem<TItem extends ListItem>({
226227 isLargeScreenWidth && isLastItem && styles . searchTableBottomRadius ,
227228 ! isLargeScreenWidth && isFirstItem && styles . searchTableTopRadius ,
228229 ! isLargeScreenWidth && isLastItem && styles . searchTableBottomRadius ,
229- ! isLargeScreenWidth && ! isLastItem && styles . borderBottom ,
230230 ] }
231231 >
232232 { ( { hovered} ) => (
@@ -262,7 +262,12 @@ function TransactionListItem<TItem extends ListItem>({
262262 isActionColumnWide = { transactionItem . isActionColumnWide }
263263 shouldShowCheckbox = { ! ! canSelectMultiple }
264264 checkboxSentryLabel = { CONST . SENTRY_LABEL . SEARCH . TRANSACTION_LIST_ITEM_CHECKBOX }
265- style = { [ styles . p3 , styles . pv2 , shouldUseNarrowLayout ? [ styles . p0 , styles . pt3 , styles . noBorderRadius ] : isLargeScreenWidth && styles . noBorderRadius ] }
265+ style = { [
266+ styles . p3 ,
267+ styles . pv2 ,
268+ ! isLargeScreenWidth && [ styles . p0 , styles . pt3 , isLastItem ? styles . searchTableBottomRadius : styles . noBorderRadius ] ,
269+ isLargeScreenWidth && ( isLastItem ? styles . searchTableBottomRadius : styles . noBorderRadius ) ,
270+ ] }
266271 violations = { transactionViolations }
267272 onArrowRightPress = { isDeletedTransaction ? undefined : ( ) => onSelectRow ( item , transactionPreviewData ) }
268273 isHover = { hovered }
0 commit comments