Skip to content

Commit 9e03331

Browse files
committed
Speed up the bar animation on the TRAFFIC tab
1 parent 4dfebc9 commit 9e03331

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WordPress/src/main/java/org/wordpress/android/ui/stats/refresh/lists/sections/traffic/TrafficBarChartViewHolder.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import android.content.Context
44
import android.view.ViewGroup
55
import androidx.core.content.ContextCompat
66
import androidx.core.view.ViewCompat
7-
import com.github.mikephil.charting.animation.Easing
87
import com.github.mikephil.charting.charts.BarChart
98
import com.github.mikephil.charting.components.Description
109
import com.github.mikephil.charting.components.XAxis
@@ -119,7 +118,7 @@ class TrafficBarChartViewHolder(parent: ViewGroup) : BlockListItemViewHolder(
119118

120119
extraRightOffset = 8f
121120

122-
animateY(1000, Easing.EaseInSine)
121+
animateY(250)
123122
}
124123
}
125124

0 commit comments

Comments
 (0)