mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[API/Vulcan] Fix incorrect Attendance type.
This commit is contained in:
parent
18b83e2ed8
commit
33fcffd2bd
@ -132,9 +132,9 @@ class VulcanApiDictionaries(override val data: DataVulcan, val onSuccess: () ->
|
||||
val present = attendanceType.getBoolean("Obecnosc") ?: true
|
||||
if (belated)
|
||||
if (excused)
|
||||
Attendance.TYPE_ABSENT_EXCUSED
|
||||
Attendance.TYPE_BELATED_EXCUSED
|
||||
else
|
||||
Attendance.TYPE_ABSENT
|
||||
Attendance.TYPE_BELATED
|
||||
else if (released)
|
||||
Attendance.TYPE_RELEASED
|
||||
else if (present)
|
||||
|
Loading…
Reference in New Issue
Block a user