diff options
-rw-r--r-- | src/routes/main/MainStackScreen.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index fee2f5da..35c306e5 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -264,7 +264,10 @@ export const headerBarOptions: ( height={normalize(18)} width={normalize(18)} color={color} - style={styles.backButton} + style={[ + styles.backButton, + color === 'white' ? styles.backButtonShadow : {}, + ]} /> ), headerTitle: () => ( @@ -296,6 +299,8 @@ export const modalStyle: StackNavigationOptions = { const styles = StyleSheet.create({ backButton: { marginLeft: 30, + }, + backButtonShadow: { shadowColor: 'black', shadowRadius: 3, shadowOpacity: 0.7, |