mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-25 14:22:14 +03:00
Merge branch 'master' of https://github.com/esteemapp/esteem-mobile
This commit is contained in:
commit
7f30469318
@ -34,7 +34,6 @@ class PinAnimatedInput extends PureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_startLoadingAnimation = () => {
|
_startLoadingAnimation = () => {
|
||||||
const { loading } = this.props;
|
|
||||||
[...Array(4)].map((item, index) => {
|
[...Array(4)].map((item, index) => {
|
||||||
this.dots[index].setValue(0);
|
this.dots[index].setValue(0);
|
||||||
});
|
});
|
||||||
@ -44,8 +43,10 @@ class PinAnimatedInput extends PureComponent {
|
|||||||
duration: 250,
|
duration: 250,
|
||||||
easing: Easing.linear,
|
easing: Easing.linear,
|
||||||
})),
|
})),
|
||||||
]).start(() => {
|
]).start((o) => {
|
||||||
if (loading) this._startLoadingAnimation();
|
if (o.finished) {
|
||||||
|
this._startLoadingAnimation();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user