|
@@ -14,7 +14,6 @@ import com.reactnativenavigation.R;
|
14
|
14
|
import com.reactnativenavigation.layouts.Layout;
|
15
|
15
|
import com.reactnativenavigation.layouts.ModalScreenLayout;
|
16
|
16
|
import com.reactnativenavigation.layouts.ScreenStackContainer;
|
17
|
|
-import com.reactnativenavigation.params.AppStyle;
|
18
|
17
|
import com.reactnativenavigation.params.ContextualMenuParams;
|
19
|
18
|
import com.reactnativenavigation.params.FabParams;
|
20
|
19
|
import com.reactnativenavigation.params.Orientation;
|
|
@@ -190,11 +189,11 @@ public class Modal extends Dialog implements DialogInterface.OnDismissListener,
|
190
|
189
|
return;
|
191
|
190
|
}
|
192
|
191
|
destroy();
|
193
|
|
- setOrientation(AppStyle.appStyle.orientation);
|
194
|
192
|
onModalDismissedListener.onModalDismissed(this);
|
195
|
193
|
}
|
196
|
194
|
|
197
|
195
|
void onModalDismissed() {
|
|
196
|
+ setOrientation(screenParams.styleParams.orientation);
|
198
|
197
|
layout.onModalDismissed();
|
199
|
198
|
}
|
200
|
199
|
|