mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
Remove some commented code
This commit is contained in:
@ -186,7 +186,6 @@ export class Page extends pageCommon.Page {
|
|||||||
|
|
||||||
if (fullscreen) {
|
if (fullscreen) {
|
||||||
this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFullScreen;
|
this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFullScreen;
|
||||||
//uiUtils.ios._layoutRootView(this, UIScreen.mainScreen().bounds);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFormSheet;
|
this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFormSheet;
|
||||||
@ -195,11 +194,6 @@ export class Page extends pageCommon.Page {
|
|||||||
|
|
||||||
var that = this;
|
var that = this;
|
||||||
parent.ios.presentViewControllerAnimatedCompletion(this._ios, false, function completion() {
|
parent.ios.presentViewControllerAnimatedCompletion(this._ios, false, function completion() {
|
||||||
if (!fullscreen) {
|
|
||||||
// We can measure and layout the modal page after we know its parent's dimensions.
|
|
||||||
//uiUtils.ios._layoutRootView(that, that._nativeView.superview.bounds);
|
|
||||||
}
|
|
||||||
|
|
||||||
that._raiseShownModallyEvent(parent, context, closeCallback);
|
that._raiseShownModallyEvent(parent, context, closeCallback);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user