Skip to content

Commit b652fb4

Browse files
committed
fix: remove unnecessary PDF check for replace receipt button visibility
1 parent dbb9de1 commit b652fb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/media/AttachmentModalScreen/routes/TransactionReceiptModalContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function TransactionReceiptModalContent({navigation, route}: AttachmentModalScre
548548
style={styles.transactionReceiptButton}
549549
/>
550550
)}
551-
{!isPDF && (shouldShowReplaceReceiptButton || isOdometerImage) && (
551+
{(shouldShowReplaceReceiptButton || isOdometerImage) && (
552552
<Button
553553
icon={expensifyIcons.Camera}
554554
onPress={() => {

0 commit comments

Comments
 (0)