[FIX] Close tablet modal (#1773)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
acf788ef8c
commit
f33e98b516
|
@ -469,7 +469,7 @@ class CustomModalStack extends React.Component {
|
||||||
closeModal();
|
closeModal();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (state && state.routes[state.index] && state.routes[state.index].routes.length > 1) {
|
if (state && state.routes[state.index] && state.routes[state.index].routes && state.routes[state.index].routes.length > 1) {
|
||||||
navigation.goBack();
|
navigation.goBack();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue