File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed
pages/ReimbursementAccount Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change 4747 height : 92% !important ;
4848 }
4949}
50-
51- .onfido-sdk-ui-NavigationBar-back {
52- /* This keeps onfido back button hidden since there is already a back button in the top header which
53- programatically clicks onfido button. */
54- visibility : hidden;
55- }
Original file line number Diff line number Diff line change @@ -31,16 +31,6 @@ class RequestorOnfidoStep extends React.Component {
3131 constructor ( props ) {
3232 super ( props ) ;
3333 this . submit = this . submit . bind ( this ) ;
34- this . goBack = this . goBack . bind ( this ) ;
35- }
36-
37- goBack ( ) {
38- const onfidoBack = document . querySelector ( '.onfido-sdk-ui-NavigationBar-back' ) ;
39- if ( onfidoBack && ! onfidoBack . classList . contains ( 'onfido-sdk-ui-NavigationBar-disabled' ) ) {
40- onfidoBack . click ( ) ;
41- } else {
42- this . props . onBackButtonPress ( ) ;
43- }
4434 }
4535
4636 submit ( onfidoData ) {
@@ -60,7 +50,7 @@ class RequestorOnfidoStep extends React.Component {
6050 stepCounter = { { step : 3 , total : 5 } }
6151 shouldShowGetAssistanceButton
6252 guidesCallTaskID = { CONST . GUIDES_CALL_TASK_IDS . WORKSPACE_BANK_ACCOUNT }
63- onBackButtonPress = { this . goBack }
53+ onBackButtonPress = { this . props . onBackButtonPress }
6454 />
6555 < FullPageOfflineBlockingView >
6656 < ScrollView contentContainerStyle = { styles . flex1 } >
You can’t perform that action at this time.
0 commit comments