Removed unneeded check

This commit is contained in:
Brendon Sled 2018-11-23 10:57:42 -06:00 committed by GitHub
parent a8b35cf58a
commit eb22958703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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}