mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-02-21 14:04:45 +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 {
|
val category = data.gradeCategories.singleOrNull {
|
||||||
it.categoryId == categoryId && it.type == when (type) {
|
it.categoryId == categoryId && it.type == when (type) {
|
||||||
TYPE_DESCRIPTIVE_TEXT -> GradeCategory.TYPE_DESCRIPTIVE
|
TYPE_DESCRIPTIVE_TEXT -> GradeCategory.TYPE_DESCRIPTIVE
|
||||||
else -> GradeCategory.TYPE_TEXT
|
else -> GradeCategory.TYPE_NORMAL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user