|
|
|
|
246
|
|
246
|
|
247
|
void dismissTopModal() {
|
247
|
void dismissTopModal() {
|
248
|
modalController.dismissTopModal();
|
248
|
modalController.dismissTopModal();
|
249
|
- Screen previousScreen = layout.getCurrentScreen();
|
|
|
250
|
- NavigationApplication.instance.getEventEmitter().sendWillAppearEvent(previousScreen.getScreenParams(), NavigationType.DismissModal);
|
|
|
251
|
- NavigationApplication.instance.getEventEmitter().sendDidAppearEvent(previousScreen.getScreenParams(), NavigationType.DismissModal);
|
|
|
252
|
}
|
249
|
}
|
253
|
|
250
|
|
254
|
void dismissAllModals() {
|
251
|
void dismissAllModals() {
|
255
|
modalController.dismissAllModals();
|
252
|
modalController.dismissAllModals();
|
256
|
- Screen previousScreen = layout.getCurrentScreen();
|
|
|
257
|
- NavigationApplication.instance.getEventEmitter().sendWillAppearEvent(previousScreen.getScreenParams(), NavigationType.DismissModal);
|
|
|
258
|
- NavigationApplication.instance.getEventEmitter().sendDidAppearEvent(previousScreen.getScreenParams(), NavigationType.DismissModal);
|
|
|
259
|
}
|
253
|
}
|
260
|
|
254
|
|
261
|
public void showLightBox(LightBoxParams params) {
|
255
|
public void showLightBox(LightBoxParams params) {
|