@@ -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