mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
[Vulcan/Hebe] Add handling custom presence types.
This commit is contained in:
parent
e869107101
commit
a11a44b768
@ -132,7 +132,10 @@ class VulcanHebeAttendance(
|
||||
else if (released)
|
||||
Attendance.TYPE_RELEASED
|
||||
else if (present)
|
||||
Attendance.TYPE_PRESENT
|
||||
if (attendanceType.getInt("CategoryId") != 1)
|
||||
Attendance.TYPE_PRESENT_CUSTOM
|
||||
else
|
||||
Attendance.TYPE_PRESENT
|
||||
else
|
||||
Attendance.TYPE_UNKNOWN
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user