Skip to content

Commit

Permalink
Merge pull request #43631 from Krishna2323/krishna2323/issue/43393
Browse files Browse the repository at this point in the history
fix: [Search v1] No background color placeholder exists for receipt thumbnail.
  • Loading branch information
luacmartins authored Jun 17, 2024
2 parents 09ce637 + 8d725f4 commit 62c937a
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ function ReceiptCell({transactionItem}: TransactionCellProps) {
const StyleUtils = useStyleUtils();

return (
<View style={[StyleUtils.getWidthAndHeightStyle(variables.h36, variables.w40), StyleUtils.getBorderRadiusStyle(variables.componentBorderRadiusSmall), styles.overflowHidden]}>
<View
style={[
StyleUtils.getWidthAndHeightStyle(variables.h36, variables.w40),
StyleUtils.getBorderRadiusStyle(variables.componentBorderRadiusSmall),
StyleUtils.getBackgroundColorStyle(theme.border),
styles.overflowHidden,
]}
>
<ReceiptImage
source={tryResolveUrlFromApiRoot(transactionItem?.receipt?.source ?? '')}
isEReceipt={transactionItem.hasEReceipt}
Expand Down

0 comments on commit 62c937a

Please sign in to comment.