Skip to content

Commit

Permalink
Fix broken stopAnimating()
Browse files Browse the repository at this point in the history
  • Loading branch information
Spriter authored and ninjaprox committed Nov 28, 2017
1 parent 3af1944 commit 6548829
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ public final class NVActivityIndicatorPresenter {
private func _hide() {
if state == .waitingToHide {
hide()
} else if state == .waitingToShow {
state = .hidden
} else if state != .hidden {
state = .waitingToHide
}
Expand Down

0 comments on commit 6548829

Please sign in to comment.