Add default case to facebook::react::displayModeToInt()
#14281
Labels
enhancement
Integration Follow-up
Workstream: Component Parity
Close the parity gap between RNW and RN for core RN components and their supporting APIs.
Milestone
Problem Description
In the
displayModeToInt()
function, there is not default case defined which is causing the following warning:Adding the default case removes the warning and resolves the issue.
Link to the integration where the error originated
#14278
Link to commit
facebook/react-native@dbb75e3
There was no change to the function in
primitives.h
directly in this integration period, but this was the only commit that references the function in the commit range.Forked files
packages/react-native/ReactCommon/react/renderer/uimanager/primitives.h
Upstream PR
facebook/react-native#48711
Build Configuration
None
The text was updated successfully, but these errors were encountered: