diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-16 13:47:59 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-16 13:47:59 -0400 |
commit | 52382c57257a4d0a03742c9ff07eb3f458385527 (patch) | |
tree | ef32c7e87e6096daa24cecb744fe2813d59c77b5 | |
parent | d85970faea11ae95405e96ec8b486ccb5144034d (diff) |
only shadow white
-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, |