-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix
RNScreens/RNSScreen.h
import if react-native-screens is no…
…t installed (#2377) ## Description When not having react-native-screens installed, react-native-reanimated does not build in alpha.3 (or current master). There is an import: ```objc #import <RNScreens/RNSScreen.h> ``` which does not work since RNScreens does not exist. This PR fixes this issue by conditionally importing RNScreens. ## Changes - Conditionally import RNScreens depending on whether it's installed or not - Conditionally use RNSScreen class depending on whether it's available or not
- Loading branch information
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters