Skip to content

Commit 77be80b

Browse files
authored
Merge pull request #31519 from Krishna2323/krishna2323/issue/re/30284
fix: Receipt - The border green line on top and bottom in native.
2 parents ff4c947 + 857a9d3 commit 77be80b

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

src/pages/iou/ReceiptSelector/index.native.js

+12-8
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,18 @@ function ReceiptSelector({route, report, iou, transactionID}) {
205205
</View>
206206
)}
207207
{cameraPermissionStatus === RESULTS.GRANTED && device != null && (
208-
<NavigationAwareCamera
209-
ref={camera}
210-
device={device}
211-
style={[styles.cameraView]}
212-
zoom={device.neutralZoom}
213-
photo
214-
cameraTabIndex={pageIndex}
215-
/>
208+
<View style={[styles.cameraView]}>
209+
<View style={styles.flex1}>
210+
<NavigationAwareCamera
211+
ref={camera}
212+
device={device}
213+
style={[styles.flex1]}
214+
zoom={device.neutralZoom}
215+
photo
216+
cameraTabIndex={pageIndex}
217+
/>
218+
</View>
219+
</View>
216220
)}
217221
<View style={[styles.flexRow, styles.justifyContentAround, styles.alignItemsCenter, styles.pv3]}>
218222
<AttachmentPicker shouldHideCameraOption>

0 commit comments

Comments
 (0)