Change running animation
This commit is contained in:
parent
e658cc2fa2
commit
1dff662696
1 changed files with 2 additions and 2 deletions
|
@ -97,10 +97,10 @@ class ProxiwashListItem extends React.Component<Props> {
|
||||||
/>
|
/>
|
||||||
: <AnimatedIcon
|
: <AnimatedIcon
|
||||||
icon={props.isDryer ? 'tumble-dryer' : 'washing-machine'}
|
icon={props.isDryer ? 'tumble-dryer' : 'washing-machine'}
|
||||||
animation={isRunning ? "flash" : undefined}
|
animation={isRunning ? "pulse" : undefined}
|
||||||
iterationCount={"infinite"}
|
iterationCount={"infinite"}
|
||||||
easing={"linear"}
|
easing={"linear"}
|
||||||
duration={2000}
|
duration={1000}
|
||||||
useNativeDriver
|
useNativeDriver
|
||||||
size={40}
|
size={40}
|
||||||
color={colors.text}
|
color={colors.text}
|
||||||
|
|
Loading…
Reference in a new issue