Skip to content

Commit

Permalink
update all types
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepmdk committed Nov 10, 2023
1 parent 1e1db5f commit 61c8b11
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/libs/ReceiptUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ function getThumbnailAndImageURIs(transaction: Transaction, receiptPath: string
image = ReceiptSVG;
}

if (fileExtension === CONST.IOU.FILE_TYPES.PDF) {
return {thumbnail: image, image: path, isLocalFile: true};
}

return {thumbnail: null, image};
return {thumbnail: image, image: path, isLocalFile: true};
}

// eslint-disable-next-line import/prefer-default-export
Expand Down

0 comments on commit 61c8b11

Please sign in to comment.