[API/IDziennik] Fix final grade names.

This commit is contained in:
Kacper Ziubryniewicz 2019-12-22 23:42:03 +01:00
parent 52ac40c826
commit a09d943344

View File

@ -124,12 +124,12 @@ class IdziennikWebGrades(override val data: DataIdziennik,
}
1 -> {
gradeObject.type = Grade.TYPE_SEMESTER1_FINAL
gradeObject.name = name
gradeObject.name = value.toInt().toString()
gradeObject.weight = 0f
}
2 -> {
gradeObject.type = Grade.TYPE_YEAR_FINAL
gradeObject.name = name
gradeObject.name = value.toInt().toString()
gradeObject.weight = 0f
}
}