diff --git a/src/views/Stack/StackItem.tsx b/src/views/Stack/StackItem.tsx index d8a974557..b1dff0fc0 100644 --- a/src/views/Stack/StackItem.tsx +++ b/src/views/Stack/StackItem.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { View, StyleSheet, Platform, StyleProp, ViewStyle } from 'react-native'; +import { View, StyleSheet, StyleProp, ViewStyle } from 'react-native'; import Animated from 'react-native-reanimated'; import { NavigationRoute } from 'react-navigation'; import { Props as HeaderContainerProps } from '../Header/HeaderContainer'; @@ -169,7 +169,6 @@ export default class StackItem extends React.PureComponent { navigation, getPreviousRoute, styleInterpolator: headerStyleInterpolator, - style: styles.header, }) : null} @@ -186,8 +185,4 @@ const styles = StyleSheet.create({ scene: { flex: 1, }, - header: { - // This is needed to show elevation shadow - zIndex: Platform.OS === 'android' ? 1 : 0, - }, });