Skip to content

Commit

Permalink
Speed up the bar animation on the TRAFFIC tab
Browse files Browse the repository at this point in the history
  • Loading branch information
irfano committed Mar 2, 2024
1 parent 4dfebc9 commit 9e03331
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import android.content.Context
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.core.view.ViewCompat
import com.github.mikephil.charting.animation.Easing
import com.github.mikephil.charting.charts.BarChart
import com.github.mikephil.charting.components.Description
import com.github.mikephil.charting.components.XAxis
Expand Down Expand Up @@ -119,7 +118,7 @@ class TrafficBarChartViewHolder(parent: ViewGroup) : BlockListItemViewHolder(

extraRightOffset = 8f

animateY(1000, Easing.EaseInSine)
animateY(250)
}
}

Expand Down

0 comments on commit 9e03331

Please sign in to comment.