Skip to content

Commit

Permalink
[LOCAL] Use legacy ReactFeatureFlags for 0.76
Browse files Browse the repository at this point in the history
The d1ce8fa pick from 0.77 used the new ReactNativeFeatureFlags,
backport this.
  • Loading branch information
blakef committed Dec 9, 2024
1 parent 08976e4 commit 93e9d57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ protected ReactContext getReactContext() {
}

private void createReactContextAndScheduleTask(final HeadlessJsTaskConfig taskConfig) {
if (ReactNativeFeatureFlags.enableBridgelessArchitecture()) {
if (ReactFeatureFlags.enableBridgelessArchitecture) {
final ReactHost reactHost = getReactHost();
reactHost.addReactInstanceEventListener(
new ReactInstanceEventListener() {
Expand Down

0 comments on commit 93e9d57

Please sign in to comment.