Skip to content

Commit a1c004e

Browse files
authored
Merge pull request Expensify#63498 from callstack-internal/VickyStash/bugfix/63492-weird-symbols
[CP Staging] Hide receipt previews if multi scan is turned off
2 parents 6ea5261 + 89ea212 commit a1c004e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/pages/iou/request/step/IOURequestStepScan/ReceiptPreviews

src/pages/iou/request/step/IOURequestStepScan/ReceiptPreviews/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ function ReceiptPreviews({submit, setTabSwipeDisabled, isMultiScanEnabled}: Rece
115115
};
116116
});
117117

118+
if (!isMultiScanEnabled) {
119+
return;
120+
}
121+
118122
return (
119123
<Animated.View style={slideInStyle}>
120124
<View style={styles.pr4}>

0 commit comments

Comments
 (0)