Skip to content

Commit

Permalink
Delete mobile config react_fabric:finalize_updates_on_synchronous_upd…
Browse files Browse the repository at this point in the history
…ate_view_ios

Summary:
changelog: [internal]

This was used as a kill switch, it has been in place for over 4 months, let's get rid of it.

Reviewed By: mdvacca

Differential Revision: D37921377

fbshipit-source-id: 594586033694766e13d0f2ab2bcd73b28ba180a9
  • Loading branch information
sammy-SC authored and facebook-github-bot committed Jul 21, 2022
1 parent 8993ffc commit 2013a20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions React/Fabric/Mounting/RCTMountingManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,7 @@ - (void)synchronouslyUpdateViewOnUIThread:(ReactTag)reactTag
componentView.layer.opacity = newViewProps.opacity;
}

auto reactNativeConfig = _contextContainer->at<std::shared_ptr<ReactNativeConfig const>>("ReactNativeConfig");
if (reactNativeConfig && reactNativeConfig->getBool("react_fabric:finalize_updates_on_synchronous_update_view_ios")) {
[componentView finalizeUpdates:RNComponentViewUpdateMaskProps];
}
[componentView finalizeUpdates:RNComponentViewUpdateMaskProps];
}

- (void)synchronouslyDispatchCommandOnUIThread:(ReactTag)reactTag
Expand Down

0 comments on commit 2013a20

Please sign in to comment.