Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix: Course Unit Navigation Indicator
Browse files Browse the repository at this point in the history
Fixes: LEARNER-9613
  • Loading branch information
HamzaIsrar12 committed Sep 21, 2023
1 parent 489dba9 commit aca3f60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class CourseUnitNavigationActivity : BaseFragmentActivity(), CourseUnitFragment.
private fun updateCompletionProgressBar(currentPosition: Int, size: Int) {
binding.spbUnits.setDivisions(size)
binding.spbUnits.setDividerEnabled(true)
binding.spbUnits.setEnabledDivisions((0..currentPosition).toList())
binding.spbUnits.setEnabledDivisions(listOf(currentPosition))
}

private fun setupToolbarListeners() {
Expand Down

0 comments on commit aca3f60

Please sign in to comment.