|
@@ -57,6 +57,9 @@ public class RctActivityModule extends ReactContextBaseJavaModule {
|
57
|
57
|
if(ContextProvider.getActivityContext() instanceof RootActivity) {
|
58
|
58
|
context.overridePendingTransition(0, 0);
|
59
|
59
|
}
|
|
60
|
+
|
|
61
|
+ // Dismiss modals associated with previous activity
|
|
62
|
+ ModalController.getInstance().dismissAllModals();
|
60
|
63
|
}
|
61
|
64
|
}
|
62
|
65
|
|
|
@@ -83,6 +86,9 @@ public class RctActivityModule extends ReactContextBaseJavaModule {
|
83
|
86
|
if(ContextProvider.getActivityContext() instanceof RootActivity) {
|
84
|
87
|
context.overridePendingTransition(0, 0);
|
85
|
88
|
}
|
|
89
|
+
|
|
90
|
+ // Dismiss modals associated with previous activity
|
|
91
|
+ ModalController.getInstance().dismissAllModals();
|
86
|
92
|
}
|
87
|
93
|
}
|
88
|
94
|
|