pull/37/head
kunfei 6 years ago
parent 61144577b0
commit 4e97ef576d
  1. 11
      app/src/main/java/io/legado/app/ui/widget/anima/RotateLoading.kt

@ -208,15 +208,8 @@ class RotateLoading : View {
private fun stopAnimator() {
animate().cancel()
animate().scaleX(0.0f)
.scaleY(0.0f)
.setListener(object : AnimatorListenerAdapter() {
override fun onAnimationEnd(animation: Animator) {
isStarted = false
visibility = GONE
}
})
.start()
isStarted = false
visibility = GONE
}
companion object {

Loading…
Cancel
Save