Skip to content

Commit ffc12d1

Browse files
committed
chore: use this.iosOverflowSafeAreaEnabled
1 parent ad504d7 commit ffc12d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/collectionview.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ export class CollectionView extends CollectionViewBase {
468468

469469
if (view && !view.parent) {
470470
this._addView(view);
471-
if (this.iosOverflowSafeArea) {
471+
if (this.iosOverflowSafeAreaEnabled) {
472472
const innerView = UICellView.new() as UICellView;
473473
innerView.view = new WeakRef(view);
474474
innerView.addSubview(view.nativeViewProtected);
@@ -628,7 +628,7 @@ export class CollectionView extends CollectionViewBase {
628628
this._prepareCell(cell, indexPath, templateType);
629629

630630
const cellView: View = cell.view;
631-
if (!this.iosOverflowSafeArea && cellView && cellView['isLayoutRequired']) {
631+
if (!this.iosOverflowSafeAreaEnabled && cellView && cellView['isLayoutRequired']) {
632632
this.layoutCell(indexPath.row, cell, cellView);
633633
}
634634
return cell;

0 commit comments

Comments
 (0)