Skip to content

Commit 0fa096e

Browse files
author
Peter Piekarczyk
committed
only show overflow if greater than 0
1 parent 1c9ae9c commit 0fa096e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export default class FacePile extends PureComponent {
180180
const { faces, overflow, containerStyle } = this.props
181181
return (
182182
<View style={[styles.container, containerStyle]}>
183-
{this._renderOverflowCircle(overflow)}
183+
{overflow > 0 && this._renderOverflowCircle(overflow)}
184184
{faces.map(this._renderFace)}
185185
</View>
186186
)

0 commit comments

Comments
 (0)