mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
VirtualView: Remove Unnecessary ?. in updateClippingRect() (#53442)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53442 Refactors `VirtualView` to remove this unnecessary `?.` in `updateClippingRect()`. Changelog: [Internal] Reviewed By: lunaleaps Differential Revision: D80600713 fbshipit-source-id: 1a11b302f069e3b35db70831fd4f7a9bd7471cc6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ec1e97342a
commit
bf12e30cb7
+1
-1
@@ -188,7 +188,7 @@ public class ReactVirtualView(context: Context) :
|
||||
// If no ScrollView, or ScrollView has disabled removeClippedSubviews, use default behavior
|
||||
if (
|
||||
parentScrollView == null ||
|
||||
!((parentScrollView as ReactClippingViewGroup)?.removeClippedSubviews ?: false)
|
||||
!((parentScrollView as ReactClippingViewGroup).removeClippedSubviews ?: false)
|
||||
) {
|
||||
super.updateClippingRect(excludedViews)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user