fix issue with circle not disappearing when is equal to

This commit is contained in:
Lucas Bento 2019-02-26 08:58:44 +01:00
parent 1a37f2bb05
commit 7fdd5d30cf

View File

@ -73,13 +73,15 @@ export default class CircularProgress extends React.PureComponent {
fill="transparent"
/>
)}
<Path
d={circlePath}
stroke={tintColor}
strokeWidth={width}
strokeLinecap={lineCap}
fill="transparent"
/>
{fill > 0 && (
<Path
d={circlePath}
stroke={tintColor}
strokeWidth={width}
strokeLinecap={lineCap}
fill="transparent"
/>
)}
</G>
</Svg>
{children && (