File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Reply/app/src/main/java/com/materialstudies/reply/ui/home Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ import android.graphics.RectF
2727import android.graphics.drawable.Drawable
2828import androidx.annotation.ColorInt
2929import androidx.appcompat.content.res.AppCompatResources
30- import androidx.interpolator.view.animation.FastOutSlowInInterpolator
3130import com.materialstudies.reply.R
3231import com.materialstudies.reply.util.lerp
3332import com.materialstudies.reply.util.lerpArgb
3433import com.materialstudies.reply.util.themeColor
34+ import com.materialstudies.reply.util.themeInterpolator
3535import kotlin.math.abs
3636import kotlin.math.hypot
3737import kotlin.math.sin
@@ -79,7 +79,7 @@ class EmailSwipeActionDrawable(context: Context) : Drawable() {
7979 }
8080 private var progressAnim: ValueAnimator ? = null
8181 private val dur = context.resources.getInteger(R .integer.reply_motion_duration_medium)
82- private val interp = FastOutSlowInInterpolator ( )
82+ private val interp = context.themeInterpolator( R .attr.motionInterpolatorPersistent )
8383
8484 override fun onBoundsChange (bounds : Rect ? ) {
8585 if (bounds == null ) return
You can’t perform that action at this time.
0 commit comments