feat(social): filter activity only with in 3days
This commit is contained in:
parent
133354a22d
commit
90b9b7bef3
7 changed files with 40 additions and 30 deletions
|
@ -58,9 +58,8 @@ class CircleView(context: Context, attrs: AttributeSet?) : View(context, attrs)
|
|||
setColor(0)
|
||||
} else {
|
||||
val effectiveAngle = totalAngle / parts
|
||||
|
||||
for (i in 0 until parts) {
|
||||
val startAngle = i * (effectiveAngle + gapAngle)
|
||||
val startAngle = i * (effectiveAngle + gapAngle) -90f
|
||||
path.reset()
|
||||
path.addArc(
|
||||
centerX - radius,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue