No shadow when transparent

This commit is contained in:
Brent Vatne 2018-11-30 11:50:22 -08:00
parent 18c8af3e1b
commit db4dd5bec2
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class Card extends React.Component {
style={[StyleSheet.absoluteFill, containerAnimatedStyle, screenStyle]}
active={active}
>
{shadowOpacity ? (
{!transparent && shadowOpacity ? (
<Animated.View
style={[styles.shadow, { shadowOpacity }]}
pointerEvents="none"