No shadow when transparent

This commit is contained in:
Brent Vatne
2018-11-30 11:50:22 -08:00
parent 39a8b8da85
commit 722e560411

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"