mirror of
https://github.com/expo/react-navigation-stack.git
synced 2026-11-15 17:40:13 -10:00
Removed unneeded check
This commit is contained in:
1 parent
a8b35cf58a
commit
eb22958703
1 file changed
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user