forked from github/szkolny
[API/Usos] Add prefixes to classroom and building names.
This commit is contained in:
parent
158b69a8d3
commit
845e09d875
@ -104,7 +104,7 @@ class UsosApiTimetable(
|
|||||||
it.teacherId = lecturerIds?.firstOrNull() ?: -1L
|
it.teacherId = lecturerIds?.firstOrNull() ?: -1L
|
||||||
it.teamId = unitId
|
it.teamId = unitId
|
||||||
val groupName = classTypeId?.plus(groupNumber)?.let { s -> "($s)" }
|
val groupName = classTypeId?.plus(groupNumber)?.let { s -> "($s)" }
|
||||||
it.classroom = "$buildingId / $roomNumber ${groupName ?: ""}"
|
it.classroom = "Sala $roomNumber / bud. $buildingId ${groupName ?: ""}"
|
||||||
it.id = it.buildId()
|
it.id = it.buildId()
|
||||||
|
|
||||||
it.color = when (classTypeId) {
|
it.color = when (classTypeId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user