Skip to content

Commit c28204b

Browse files
committed
lint
1 parent dd18050 commit c28204b

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/pages/iou/request/step/IOURequestStepDistance.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ function IOURequestStepDistance({
357357
activePolicyID,
358358
reportNameValuePairs?.private_isArchived,
359359
policyForMovingExpenses,
360-
personalPolicy?.autoReporting,
361-
reportID,
362360
selfDMReport,
363361
reportNameValuePairs?.private_isArchived,
364362
betas,

src/pages/iou/request/step/IOURequestStepDistanceMap.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,6 @@ function IOURequestStepDistanceMap({
354354
activePolicyID,
355355
reportNameValuePairs?.private_isArchived,
356356
policyForMovingExpenses,
357-
personalPolicy?.autoReporting,
358-
reportID,
359357
selfDMReport,
360358
reportNameValuePairs?.private_isArchived,
361359
betas,

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ function IOURequestStepScan({
657657
<PressableWithFeedback
658658
role={CONST.ROLE.BUTTON}
659659
accessibilityLabel={translate('receipt.flash')}
660+
sentryLabel={CONST.SENTRY_LABEL.REQUEST_STEP.SCAN.FLASH}
660661
disabled={cameraPermissionStatus !== RESULTS.GRANTED || !hasFlash}
661662
onPress={() => setFlash((prevFlash) => !prevFlash)}
662663
>
@@ -704,6 +705,7 @@ function IOURequestStepScan({
704705
<PressableWithFeedback
705706
role={CONST.ROLE.BUTTON}
706707
accessibilityLabel={translate('receipt.gallery')}
708+
sentryLabel={shouldAcceptMultipleFiles ? CONST.SENTRY_LABEL.REQUEST_STEP.SCAN.CHOOSE_FILES : CONST.SENTRY_LABEL.REQUEST_STEP.SCAN.CHOOSE_FILE}
707709
style={[styles.alignItemsStart, isMultiScanEnabled && styles.opacity0]}
708710
onPress={() => {
709711
openPicker({
@@ -728,6 +730,7 @@ function IOURequestStepScan({
728730
<PressableWithFeedback
729731
role={CONST.ROLE.BUTTON}
730732
accessibilityLabel={translate('receipt.shutter')}
733+
sentryLabel={CONST.SENTRY_LABEL.REQUEST_STEP.SCAN.SHUTTER}
731734
style={[styles.alignItemsCenter]}
732735
onPress={capturePhoto}
733736
>
@@ -743,6 +746,7 @@ function IOURequestStepScan({
743746
accessibilityRole="button"
744747
role={CONST.ROLE.BUTTON}
745748
accessibilityLabel={translate('receipt.multiScan')}
749+
sentryLabel={CONST.SENTRY_LABEL.REQUEST_STEP.SCAN.MULTI_SCAN}
746750
style={styles.alignItemsEnd}
747751
onPress={toggleMultiScan}
748752
>
@@ -757,6 +761,7 @@ function IOURequestStepScan({
757761
<PressableWithFeedback
758762
role={CONST.ROLE.BUTTON}
759763
accessibilityLabel={translate('receipt.flash')}
764+
sentryLabel={CONST.SENTRY_LABEL.REQUEST_STEP.SCAN.FLASH}
760765
style={[styles.alignItemsEnd, !hasFlash && styles.opacity0]}
761766
disabled={cameraPermissionStatus !== RESULTS.GRANTED || !hasFlash}
762767
onPress={() => setFlash((prevFlash) => !prevFlash)}

0 commit comments

Comments
 (0)