mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove ReactFeatureFlags.useViewManagerDelegates
Summary: This diff deleted the ReactFeatureFlags.useViewManagerDelegates, this has been enabled for 9+ months changelog: [internal] internal Reviewed By: JoshuaGross Differential Revision: D28265339 fbshipit-source-id: f5c97e77ca4fc72d2e2b8f891e800e362177d67a
This commit is contained in:
1 parent
1e39d8b829
commit
bf8037cad0
2 files changed
+2
-10
No files matched your search
@@ -15,7 +15,6 @@ import com.facebook.react.bridge.BaseJavaModule;
|
||||
import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.bridge.ReadableArray;
|
||||
import com.facebook.react.bridge.ReadableMap;
|
||||
import com.facebook.react.config.ReactFeatureFlags;
|
||||
import com.facebook.react.touch.JSResponderHandler;
|
||||
import com.facebook.react.touch.ReactInterceptingViewGroup;
|
||||
import com.facebook.react.uimanager.annotations.ReactProp;
|
||||
@@ -41,8 +40,8 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
|
||||
* @param props
|
||||
*/
|
||||
public void updateProperties(@NonNull T viewToUpdate, ReactStylesDiffMap props) {
|
||||
final ViewManagerDelegate<T> delegate;
|
||||
if (ReactFeatureFlags.useViewManagerDelegates && (delegate = getDelegate()) != null) {
|
||||
final ViewManagerDelegate<T> delegate = getDelegate();
|
||||
if (delegate != null) {
|
||||
ViewManagerPropertyUpdater.updateProps(delegate, viewToUpdate, props);
|
||||
} else {
|
||||
ViewManagerPropertyUpdater.updateProps(this, viewToUpdate, props);
|
||||
|
||||
Reference in new issue
Block a user