@@ -352,15 +352,7 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
352352 this . viewController = controller ; // store the viewController so that safeArea overflow is applied correctly
353353 }
354354
355- // controller.modalPresentationStyle = UIModalPresentationStyle.FormSheet;
356-
357- // this.horizontalAlignment = 'stretch';
358- // this.verticalAlignment = 'stretch';
359-
360355 this . _raiseShowingBottomSheetEvent ( ) ;
361- // const controller = UIViewController.new();
362- // controller.view= MDCTextField.new();
363- // animated = animated === undefined ? true : !!animated;
364356 const bottomSheet = ( this . bottomSheetController = MDCBottomSheetController . alloc ( ) . initWithContentViewController ( controller ) ) ;
365357 this . bottomSheetControllerDelegate = bottomSheet . delegate = MDCBottomSheetControllerDelegateImpl . initWithOwner ( this ) ;
366358 bottomSheet . isScrimAccessibilityElement = true ;
@@ -378,7 +370,7 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
378370 parentController . presentViewControllerAnimatedCompletion ( bottomSheet , true , null ) ;
379371 if ( options . transparent === true ) {
380372 controller . view . backgroundColor = UIColor . clearColor ;
381- // for it to be more beautiful let s disable elevation
373+ // for it to be prettier let s disable elevation
382374 controller . view [ 'elevation' ] = 0 ;
383375 } else if ( ! ( this instanceof Page ) ) {
384376 controller . view . backgroundColor = majorVersion <= 12 && ! UIColor . systemBackgroundColor ? UIColor . whiteColor : UIColor . systemBackgroundColor ;
0 commit comments