From eb22958703ddee59798aece1458d6bd2ca4fb794 Mon Sep 17 00:00:00 2001 From: Brendon Sled Date: Fri, 23 Nov 2018 10:57:42 -0600 Subject: [PATCH] Removed unneeded check --- src/views/StackView/StackViewCard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}