mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-06-12 05:30:48 +02:00
[UI] Fix semester grades overlapping when scrolling.
This commit is contained in:
@ -112,6 +112,9 @@ class SubjectViewHolder(
|
||||
))
|
||||
}
|
||||
|
||||
// remove previously added grades from year preview
|
||||
if (b.yearContainer.childCount > 1)
|
||||
b.yearContainer.removeViews(1, b.yearContainer.childCount - 1)
|
||||
// add the yearly grades to summary container (expanded)
|
||||
item.proposedGrade?.let {
|
||||
b.yearContainer.addView(GradeView(
|
||||
|
Reference in New Issue
Block a user