Skip to content

Commit

Permalink
keep the Continue button for both cases
Browse files Browse the repository at this point in the history
  • Loading branch information
layacat committed Nov 20, 2024
1 parent 724c463 commit 3b259c5
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/pages/iou/request/step/IOURequestStepScan/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -646,17 +646,15 @@ function IOURequestStepScan({
.
</Text>
) : (
<>
<Text style={[styles.subTextFileUpload]}>{translate('receipt.cameraAccess')}</Text>
<Button
success
text={translate('common.continue')}
accessibilityLabel={translate('common.continue')}
style={[styles.p9, styles.pt5]}
onPress={capturePhoto}
/>
</>
<Text style={[styles.subTextFileUpload]}>{translate('receipt.cameraAccess')}</Text>
)}
<Button
success
text={translate('common.continue')}
accessibilityLabel={translate('common.continue')}
style={[styles.p9, styles.pt5]}
onPress={capturePhoto}
/>
</View>
)}
{cameraPermissionState === 'granted' && !isEmptyObject(videoConstraints) && (
Expand Down

0 comments on commit 3b259c5

Please sign in to comment.