Use flex on transparent card style so header is respected

I don't understand why you would want a header in this case but the people have spoken
https://github.com/react-navigation/react-navigation-stack/issues/65
This commit is contained in:
Brent Vatne 2018-11-30 11:53:01 -08:00
parent db4dd5bec2
commit 5780c0e0d1

View File

@ -107,7 +107,7 @@ const styles = StyleSheet.create({
shadowColor: '#000',
},
transparent: {
...StyleSheet.absoluteFillObject,
flex: 1,
backgroundColor: 'transparent',
},
});