Removed unneeded check

This commit is contained in:
Brendon Sled authored and GitHub committed 2018-11-23 10:57:42 -06:00
1 parent a8b35cf58a
commit eb22958703
1 file changed
+1 -1
+1 -1
View File
@@ -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}