mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-02-17 00:46:53 +00:00
Removed unneeded check
This commit is contained in:
parent
a8b35cf58a
commit
eb22958703
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user