Skip to content

Commit

Permalink
Use more sensible defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
joetimmins committed Sep 24, 2020
1 parent 1956056 commit b25a67b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class StoriesProgressView : LinearLayout {
storiesCount = typedArray.getInt(R.styleable.StoriesProgressView_progressCount, 0)
progressColor = typedArray.getColor(R.styleable.StoriesProgressView_progressColor, defaultColor)
progressBackgroundColor = typedArray.getColor(R.styleable.StoriesProgressView_progressBackgroundColor, defaultBackgroundColor)
progressGapInPixels = typedArray.getDimensionPixelSize(R.styleable.StoriesProgressView_progressGap, 0)
progressCornerRadius = typedArray.getDimensionPixelSize(R.styleable.StoriesProgressView_cornerRadius, 0)
progressGapInPixels = typedArray.getDimensionPixelSize(R.styleable.StoriesProgressView_progressGap, defaultGap)
progressCornerRadius = typedArray.getDimensionPixelSize(R.styleable.StoriesProgressView_cornerRadius, defaultCornerRadius)
typedArray.recycle()
bindViews()
}
Expand Down

0 comments on commit b25a67b

Please sign in to comment.