File tree Expand file tree Collapse file tree
pages/iou/request/step/IOURequestStepScan Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -643,7 +643,6 @@ const CONST = {
643643 GLOBAL_REIMBURSEMENTS_ON_ND : 'globalReimbursementsOnND' ,
644644 IS_TRAVEL_VERIFIED : 'isTravelVerified' ,
645645 NEWDOT_MULTI_FILES_DRAG_AND_DROP : 'newDotMultiFilesDragAndDrop' ,
646- NEWDOT_MULTI_SCAN : 'newDotMultiScan' ,
647646 PLAID_COMPANY_CARDS : 'plaidCompanyCards' ,
648647 TRACK_FLOWS : 'trackFlows' ,
649648 EUR_BILLING : 'eurBilling' ,
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ function IOURequestStepScan({
101101 const camera = useRef < Camera > ( null ) ;
102102 const [ flash , setFlash ] = useState ( false ) ;
103103 const { isBetaEnabled} = usePermissions ( ) ;
104- const canUseMultiScan = isBetaEnabled ( CONST . BETAS . NEWDOT_MULTI_SCAN ) && ! isEditing && iouType !== CONST . IOU . TYPE . SPLIT && ! backTo && ! backToReport ;
104+ const canUseMultiScan = ! isEditing && iouType !== CONST . IOU . TYPE . SPLIT && ! backTo && ! backToReport ;
105105 const [ startLocationPermissionFlow , setStartLocationPermissionFlow ] = useState ( false ) ;
106106 const [ receiptFiles , setReceiptFiles ] = useState < ReceiptFile [ ] > ( [ ] ) ;
107107 const [ reportNameValuePairs ] = useOnyx ( `${ ONYXKEYS . COLLECTION . REPORT_NAME_VALUE_PAIRS } ${ report ?. reportID } ` , { canBeMissing : true } ) ;
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ function IOURequestStepScan({
121121 const [ activePolicy ] = useOnyx ( `${ ONYXKEYS . COLLECTION . POLICY } ${ activePolicyID } ` , { canBeMissing : true } ) ;
122122 const [ dismissedProductTraining ] = useOnyx ( ONYXKEYS . NVP_DISMISSED_PRODUCT_TRAINING , { canBeMissing : true } ) ;
123123 const isEditing = action === CONST . IOU . ACTION . EDIT ;
124- const canUseMultiScan = isBetaEnabled ( CONST . BETAS . NEWDOT_MULTI_SCAN ) && ! isEditing && iouType !== CONST . IOU . TYPE . SPLIT && ! backTo && ! backToReport ;
124+ const canUseMultiScan = ! isEditing && iouType !== CONST . IOU . TYPE . SPLIT && ! backTo && ! backToReport ;
125125 const isReplacingReceipt = ( isEditing && hasReceipt ( initialTransaction ) ) || ( ! ! initialTransaction ?. receipt && ! ! backTo ) ;
126126
127127 const [ optimisticTransactions ] = useOnyx ( ONYXKEYS . COLLECTION . TRANSACTION_DRAFT , {
You can’t perform that action at this time.
0 commit comments