|
@@ -1,6 +1,7 @@
|
1
|
1
|
package com.reactnativenavigation.viewcontrollers.navigator;
|
2
|
2
|
|
3
|
3
|
import android.app.Activity;
|
|
4
|
+import android.view.View;
|
4
|
5
|
import android.view.ViewGroup;
|
5
|
6
|
|
6
|
7
|
import com.facebook.react.ReactInstanceManager;
|
|
@@ -63,8 +64,8 @@ public class Navigator extends ParentController {
|
63
|
64
|
public void setContentLayout(ViewGroup contentLayout) {
|
64
|
65
|
this.contentLayout = contentLayout;
|
65
|
66
|
contentLayout.addView(rootLayout);
|
66
|
|
- contentLayout.addView(modalsLayout);
|
67
|
|
- contentLayout.addView(overlaysLayout);
|
|
67
|
+ modalsLayout.setVisibility(View.GONE); contentLayout.addView(modalsLayout);
|
|
68
|
+ overlaysLayout.setVisibility(View.GONE); contentLayout.addView(overlaysLayout);
|
68
|
69
|
}
|
69
|
70
|
|
70
|
71
|
public Navigator(final Activity activity, ChildControllersRegistry childRegistry, ModalStack modalStack, OverlayManager overlayManager, RootPresenter rootPresenter) {
|