@@ -28,7 +28,7 @@ import com.google.android.material.shape.MaterialShapeDrawable
2828import com.google.android.material.shape.ShapeAppearanceModel
2929import com.swmansion.rnscreens.events.HeaderHeightChangeEvent
3030import com.swmansion.rnscreens.events.SheetDetentChangedEvent
31- import com.swmansion.rnscreens.ext.isRemovingClippedSubviews
31+ import com.swmansion.rnscreens.ext.removeClippedSubviews
3232import java.lang.ref.WeakReference
3333
3434@SuppressLint(" ViewConstructor" ) // Only we construct this view, it is never inflated.
@@ -401,7 +401,7 @@ class Screen(
401401 if (child is ScreenStackHeaderConfig ) {
402402 // we want to start transition on children of the toolbar too,
403403 // which is not a child of ScreenStackHeaderConfig
404- startTransitionRecursive(child, isPossiblyRemovedClippedSubview || it.isRemovingClippedSubviews )
404+ startTransitionRecursive(child, isPossiblyRemovedClippedSubview || it.removeClippedSubviews )
405405 }
406406 if (child is ViewGroup ) {
407407 // The children are miscounted when there's removeClippedSubviews prop
@@ -413,7 +413,7 @@ class Screen(
413413 child.addView(View (context))
414414 }
415415 }
416- startTransitionRecursive(child, isPossiblyRemovedClippedSubview || it.isRemovingClippedSubviews )
416+ startTransitionRecursive(child, isPossiblyRemovedClippedSubview || it.removeClippedSubviews )
417417 }
418418 }
419419 }
0 commit comments