From ff006fda2ba8faf552d984f21f0721db0c0ff112 Mon Sep 17 00:00:00 2001 From: hshristov Date: Tue, 6 Oct 2015 15:05:31 +0300 Subject: [PATCH] Remove some commented code --- ui/page/page.ios.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ui/page/page.ios.ts b/ui/page/page.ios.ts index 11e5f17c2..38f218ed9 100644 --- a/ui/page/page.ios.ts +++ b/ui/page/page.ios.ts @@ -186,7 +186,6 @@ export class Page extends pageCommon.Page { if (fullscreen) { this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFullScreen; - //uiUtils.ios._layoutRootView(this, UIScreen.mainScreen().bounds); } else { this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFormSheet; @@ -195,11 +194,6 @@ export class Page extends pageCommon.Page { var that = this; 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); }); }