forked from github/szkolny
[API/IDziennik] Fix final grade names.
This commit is contained in:
parent
52ac40c826
commit
a09d943344
@ -124,12 +124,12 @@ class IdziennikWebGrades(override val data: DataIdziennik,
|
|||||||
}
|
}
|
||||||
1 -> {
|
1 -> {
|
||||||
gradeObject.type = Grade.TYPE_SEMESTER1_FINAL
|
gradeObject.type = Grade.TYPE_SEMESTER1_FINAL
|
||||||
gradeObject.name = name
|
gradeObject.name = value.toInt().toString()
|
||||||
gradeObject.weight = 0f
|
gradeObject.weight = 0f
|
||||||
}
|
}
|
||||||
2 -> {
|
2 -> {
|
||||||
gradeObject.type = Grade.TYPE_YEAR_FINAL
|
gradeObject.type = Grade.TYPE_YEAR_FINAL
|
||||||
gradeObject.name = name
|
gradeObject.name = value.toInt().toString()
|
||||||
gradeObject.weight = 0f
|
gradeObject.weight = 0f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user