From e41e1347334f8d124a033051f3e2505942688ca0 Mon Sep 17 00:00:00 2001 From: suson Date: Sat, 8 Aug 2020 21:47:32 +0545 Subject: [PATCH] fix partial ring in the progress drawable for the first cycle --- .../github/razir/progressbutton/DrawableButtonExtensions.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/progressbutton/src/main/java/com/github/razir/progressbutton/DrawableButtonExtensions.kt b/progressbutton/src/main/java/com/github/razir/progressbutton/DrawableButtonExtensions.kt index 9bb6a91..0cc15c0 100644 --- a/progressbutton/src/main/java/com/github/razir/progressbutton/DrawableButtonExtensions.kt +++ b/progressbutton/src/main/java/com/github/razir/progressbutton/DrawableButtonExtensions.kt @@ -180,9 +180,6 @@ private fun TextView.showDrawable( addDrawableAttachViewListener() setupDrawableCallback(this, drawable) - if (drawable is Animatable) { - drawable.start() - } } private fun setupDrawableCallback(textView: TextView, drawable: Drawable) {