Calm down chacha!

This commit is contained in:
Rahul Kumar Patel
2021-02-25 11:00:38 +05:30
parent 0e1ae6364d
commit 7971483578
3 changed files with 3 additions and 6 deletions

View File

@@ -113,7 +113,6 @@ class ActionButton : RelativeLayout {
if (B.viewFlipper.displayedChild != displayChild) {
runOnUiThread {
B.viewFlipper.displayedChild = displayChild
if (displayChild == 2)
switchToIdle()
}

View File

@@ -35,12 +35,12 @@ class BallPulseIndicator : Indicator() {
for (i in 0..2) {
val scaleAnim = ValueAnimator.ofFloat(1f, 0.3f, 1f)
scaleAnim.duration = 750
scaleAnim.duration = 1000
scaleAnim.repeatCount = -1
scaleAnim.startDelay = delays[i].toLong()
addUpdateListener(scaleAnim) { animation: ValueAnimator ->
scaleFloats[i] = animation.animatedValue as Float
addUpdateListener(scaleAnim) {
scaleFloats[i] = it.animatedValue as Float
postInvalidate()
}

View File

@@ -511,8 +511,6 @@ class AppDetailsActivity : BaseDetailsActivity() {
startDownload()
}
}
btn.updateState(ActionButton.State.IDLE)
}
}