Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Rename IsCompleted to IsRunning" #129

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

mattleibow
Copy link
Contributor

@mattleibow mattleibow commented Jul 13, 2022

Reverts #127

I am reverting this because I am noticing an ambiguous state.

If I have a lottie/confetti view that is disabled, the IsRunning will still be true (based on implementation logic) because it was originally designed to represent whether the animation is complete or not. For example, if you have a lottie that is 2 seconds long and you are at 1s - you are not complete and you are running. If you are to disable the view at this point, you are still running and still not complete. Using the IsRunning terminology, you would sort of expect it to be false because it is not moving. However, with the IsComplete terminology, this is not expected.

The first PR with IsAnimationEnabled is still a much better term, so that is staying.

@mattleibow mattleibow merged commit 25d0124 into main Jul 13, 2022
@mattleibow mattleibow deleted the revert-127-feature/rename-iscompleted branch July 13, 2022 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant