You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using react-native-router-flux version 4.0.0-beta.11 and been trying to change the backgroundColor of the app in a variety of methods suggested over the internet but unfortunately none worked and the background is always the default gray color. The things I tried are listed below:
passing a function that returns a style to getSceneStyle prop of the Router component
passing a style object to sceneStyle prop of the Scene component
wrapping the Router component inside a View element and styling the View
I also tried logging something inside the function passed to getSceneStyle prop but doesn't seem to fire.
I'm using react-native-router-flux version 4.0.0-beta.11 and been trying to change the backgroundColor of the app in a variety of methods suggested over the internet but unfortunately none worked and the background is always the default gray color. The things I tried are listed below:
getSceneStyle
prop of the Router componentsceneStyle
prop of the Scene componentI also tried logging something inside the function passed to
getSceneStyle
prop but doesn't seem to fire.here's my actual code:
The text was updated successfully, but these errors were encountered: