diff --git a/src/views/StackView/StackViewCard.js b/src/views/StackView/StackViewCard.js index 5de8e03..440b3e2 100644 --- a/src/views/StackView/StackViewCard.js +++ b/src/views/StackView/StackViewCard.js @@ -66,7 +66,7 @@ class Card extends React.Component { {...getAccessibilityProps(isActive)} style={[ transparent ? styles.transparent : styles.card, - style && style.backgroundColor ? { backgroundColor: style.backgroundColor } : {} + style ? { backgroundColor: style.backgroundColor } : {} ]} > {children}