Skip to content

Commit ff006fd

Browse files
author
hshristov
committed
Remove some commented code
1 parent 0ecb5d4 commit ff006fd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ui/page/page.ios.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ export class Page extends pageCommon.Page {
186186

187187
if (fullscreen) {
188188
this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFullScreen;
189-
//uiUtils.ios._layoutRootView(this, UIScreen.mainScreen().bounds);
190189
}
191190
else {
192191
this._ios.modalPresentationStyle = UIModalPresentationStyle.UIModalPresentationFormSheet;
@@ -195,11 +194,6 @@ export class Page extends pageCommon.Page {
195194

196195
var that = this;
197196
parent.ios.presentViewControllerAnimatedCompletion(this._ios, false, function completion() {
198-
if (!fullscreen) {
199-
// We can measure and layout the modal page after we know its parent's dimensions.
200-
//uiUtils.ios._layoutRootView(that, that._nativeView.superview.bounds);
201-
}
202-
203197
that._raiseShownModallyEvent(parent, context, closeCallback);
204198
});
205199
}

0 commit comments

Comments
 (0)