From 845e09d875a6f2dcce8545f588669e1d410e4d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Tue, 25 Oct 2022 12:36:11 +0200 Subject: [PATCH] [API/Usos] Add prefixes to classroom and building names. --- .../data/api/edziennik/usos/data/api/UsosApiTimetable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/usos/data/api/UsosApiTimetable.kt b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/usos/data/api/UsosApiTimetable.kt index fa625d4d..0840acc4 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/usos/data/api/UsosApiTimetable.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/usos/data/api/UsosApiTimetable.kt @@ -104,7 +104,7 @@ class UsosApiTimetable( it.teacherId = lecturerIds?.firstOrNull() ?: -1L it.teamId = unitId 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.color = when (classTypeId) {