mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
Respect custom background color in header wrapper
This commit is contained in:
parent
cd3707d64b
commit
852e7e1974
@ -580,8 +580,11 @@ class Header extends React.PureComponent {
|
||||
<Animated.View
|
||||
style={[
|
||||
this.props.layoutInterpolator(this.props),
|
||||
Platform.OS === 'ios'
|
||||
? { backgroundColor: DEFAULT_BACKGROUND_COLOR }
|
||||
Platform.OS === 'ios' && !options.headerTransparent
|
||||
? {
|
||||
backgroundColor:
|
||||
safeHeaderStyle.backgroundColor || DEFAULT_BACKGROUND_COLOR,
|
||||
}
|
||||
: null,
|
||||
]}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user