Remove some commented code

This commit is contained in:
hshristov
2015-10-06 15:05:31 +03:00
parent 0ecb5d4dcd
commit ff006fda2b

View File

@ -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);
}); });
} }