Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions src/components/TransactionItemRow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -802,24 +802,27 @@ function TransactionItemRow({
/>
</View>
)}
{!!isLargeScreenWidth && !!onArrowRightPress && (
<PressableWithFeedback
disabled={!!isDisabled}
onPress={() => onArrowRightPress?.()}
style={[styles.p3Half, styles.pl0half, styles.pr0half, styles.justifyContentCenter, styles.alignItemsEnd]}
accessibilityRole={CONST.ROLE.BUTTON}
accessibilityLabel={CONST.ROLE.BUTTON}
sentryLabel={CONST.SENTRY_LABEL.TRANSACTION_ITEM_ROW.ARROW_RIGHT}
>
<Icon
src={expensicons.ArrowRight}
fill={theme.icon}
additionalStyles={!isHover && styles.opacitySemiTransparent}
width={variables.iconSizeNormal}
height={variables.iconSizeNormal}
/>
</PressableWithFeedback>
)}
{!!isLargeScreenWidth &&
(onArrowRightPress ? (
<PressableWithFeedback
disabled={!!isDisabled}
onPress={() => onArrowRightPress?.()}
style={[styles.p3Half, styles.pl0half, styles.pr0half, styles.justifyContentCenter, styles.alignItemsEnd]}
accessibilityRole={CONST.ROLE.BUTTON}
accessibilityLabel={CONST.ROLE.BUTTON}
sentryLabel={CONST.SENTRY_LABEL.TRANSACTION_ITEM_ROW.ARROW_RIGHT}
>
<Icon
src={expensicons.ArrowRight}
fill={theme.icon}
additionalStyles={!isHover && styles.opacitySemiTransparent}
width={variables.iconSizeNormal}
height={variables.iconSizeNormal}
/>
</PressableWithFeedback>
) : (
<View style={[styles.p3Half, styles.pl0half, styles.pr0half, {width: variables.iconSizeNormal}]} />
))}
</View>
{shouldShowErrors && (
<TransactionItemRowRBR
Expand Down
Loading