Skip to content

Commit

Permalink
Merge pull request #33946 from namhihi237/fix-33412-crash-native
Browse files Browse the repository at this point in the history
fix crash native request distance
  • Loading branch information
MonilBhavsar authored Jan 4, 2024
2 parents d5f5856 + 12b3d7d commit f7e61f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReceiptUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function getThumbnailAndImageURIs(transaction: Transaction, receiptPath: string
image = ReceiptSVG;
}

const isLocalFile = path.startsWith('blob:') || path.startsWith('file:');
const isLocalFile = typeof path === 'number' || path.startsWith('blob:') || path.startsWith('file:');
return {thumbnail: image, image: path, isLocalFile};
}

Expand Down

0 comments on commit f7e61f4

Please sign in to comment.