mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-02-20 13:54:43 +01:00
[API/Librus] Use normal grade categories in text grades.
This commit is contained in:
parent
7f1f9f81a6
commit
15f126416f
@ -44,7 +44,7 @@ class LibrusApiDescriptiveGrades(override val data: DataLibrus,
|
||||
val category = data.gradeCategories.singleOrNull {
|
||||
it.categoryId == categoryId && it.type == when (type) {
|
||||
TYPE_DESCRIPTIVE_TEXT -> GradeCategory.TYPE_DESCRIPTIVE
|
||||
else -> GradeCategory.TYPE_TEXT
|
||||
else -> GradeCategory.TYPE_NORMAL
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user