app/src/main/java/org/pixeldroid/app/stories/StoryProgress.kt
Method draw
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
override fun draw(canvas: Canvas) {
paint.strokeWidth = 0.5f * bounds.height()
val y = 0.5f * bounds.height()
val sectionWidth = 1.0f * bounds.width() / numStories
val sectionPadding = 0.03f * sectionWidth