Browse Source

Show overlay on entire screen

Guy Carmeli 6 years ago
parent
commit
b01decc2d6

+ 2
- 2
lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/Navigator.java View File

@@ -131,11 +131,11 @@ public class Navigator extends ParentController {
131 131
 	}
132 132
 
133 133
 	public void showOverlay(ViewController overlay) {
134
-        overlayManager.show(root.getView(), overlay);
134
+        overlayManager.show(getView(), overlay);
135 135
 	}
136 136
 
137 137
 	public void dismissOverlay(final String componentId) {
138
-		overlayManager.dismiss(root.getView(), componentId);
138
+		overlayManager.dismiss(getView(), componentId);
139 139
 	}
140 140
 
141 141
 	static void rejectPromise(Promise promise) {