Fix badge display on Android (#867)
This commit is contained in:
parent
73c81bb863
commit
18b3d6eec9
1 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ export default class Badge extends PureComponent {
|
|||
setTimeout(() => {
|
||||
this.setNativeProps({
|
||||
style: {
|
||||
display: 'flex'
|
||||
opacity: 1
|
||||
}
|
||||
});
|
||||
}, 100);
|
||||
|
|
@ -125,7 +125,7 @@ export default class Badge extends PureComponent {
|
|||
>
|
||||
<View
|
||||
ref='badgeContainer'
|
||||
style={[styles.badge, this.props.style, {display: 'none'}]}
|
||||
style={[styles.badge, this.props.style, {opacity: 0}]}
|
||||
>
|
||||
<View style={styles.wrapper}>
|
||||
{this.renderText()}
|
||||
|
|
|
|||
Loading…
Reference in a new issue