|
@@ -76,7 +76,7 @@ function startTabBasedApp(params) {
|
76
|
76
|
}
|
77
|
77
|
});
|
78
|
78
|
ControllerRegistry.registerController(controllerID, () => Controller);
|
79
|
|
- ControllerRegistry.setRootController(controllerID, params.animationType, params.passProps || {});
|
|
79
|
+ ControllerRegistry.setRootController(controllerID);
|
80
|
80
|
}
|
81
|
81
|
|
82
|
82
|
function startSingleScreenApp(params) {
|
|
@@ -134,7 +134,7 @@ function startSingleScreenApp(params) {
|
134
|
134
|
}
|
135
|
135
|
});
|
136
|
136
|
ControllerRegistry.registerController(controllerID, () => Controller);
|
137
|
|
- ControllerRegistry.setRootController(controllerID, params.animationType, params.passProps || {});
|
|
137
|
+ ControllerRegistry.setRootController(controllerID);
|
138
|
138
|
}
|
139
|
139
|
|
140
|
140
|
function _mergeScreenSpecificSettings(screenID, screenInstanceID, params) {
|
|
@@ -350,6 +350,10 @@ function dismissModal(params) {
|
350
|
350
|
Modal.dismissController(params.animationType);
|
351
|
351
|
}
|
352
|
352
|
|
|
353
|
+function dismissAllModals(params) {
|
|
354
|
+ Modal.dismissAllControllers(params.animationType);
|
|
355
|
+}
|
|
356
|
+
|
353
|
357
|
function showLightBox(params) {
|
354
|
358
|
if (!params.screen) {
|
355
|
359
|
console.error('showLightBox(params): params.screen is required');
|
|
@@ -387,6 +391,7 @@ export default {
|
387
|
391
|
navigatorResetTo,
|
388
|
392
|
showModal,
|
389
|
393
|
dismissModal,
|
|
394
|
+ dismissAllModals,
|
390
|
395
|
showLightBox,
|
391
|
396
|
dismissLightBox,
|
392
|
397
|
navigatorSetButtons,
|