From a09d9433449163a574cc048ed9af2176ef0bf55b Mon Sep 17 00:00:00 2001 From: Kacper Ziubryniewicz Date: Sun, 22 Dec 2019 23:42:03 +0100 Subject: [PATCH] [API/IDziennik] Fix final grade names. --- .../api/edziennik/idziennik/data/web/IdziennikWebGrades.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/idziennik/data/web/IdziennikWebGrades.kt b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/idziennik/data/web/IdziennikWebGrades.kt index dc3ca4f1..fa9f98c3 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/idziennik/data/web/IdziennikWebGrades.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/idziennik/data/web/IdziennikWebGrades.kt @@ -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 } }