package Ġcom . y ol is storm . library . extensions Ċ Ċ import Ġandroidx . annotation . Color Res Ċ import Ġandroidx . annotation . Drawable Res Ċ import Ġbr . com . simple pass . loading button . custom Views . Circular Progress Button Ċ import Ġcom . y ol is storm . library . common . R Ċ import Ġcom . y ol is storm . library . utils . getColor With Version Ċ Ċ fun ĠCircular Progress Button . revert Animation Prepared ( Ċ ĉ @ Drawable Res Ġbackground Drawable : ĠInt Ġ= ĠR . drawable . rounded _ corner _ white _ 3 2 dp , Ċ ĉ @ Color Res ĠbackgroundColor : ĠInt Ġ= ĠR . color . button _ color Ċ ) Ġ{ Ċ ĉ revert Animation () Ċ ĉ background Ġ= Ġresources . get Drawable ( background Drawable , Ġcontext . theme ) Ċ ĉ background Tint List Ġ= Ġget Color With Version ( backgroundColor , Ġresources , Ġcontext ) Ċ }