Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ - (void)_onDisplayLinkTick
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name
jsInvoker:(std::shared_ptr<facebook::react::CallInvoker>)jsInvoker
{
if (facebook::react::ReactNativeFeatureFlags::cxxNativeAnimatedEnabled() &&
// initialization is moved to DefaultTurboModules when using shared animated backend
// TODO: T257053961 deprecate RCTAnimatedModuleProvider.
!facebook::react::ReactNativeFeatureFlags::useSharedAnimatedBackend()) {
if (facebook::react::ReactNativeFeatureFlags::cxxNativeAnimatedEnabled()) {
if (name == facebook::react::AnimatedModule::kModuleName) {
__weak RCTAnimatedModuleProvider *weakSelf = self;
auto provider = std::make_shared<facebook::react::NativeAnimatedNodesManagerProvider>(
Expand Down
Loading