mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-31 13:18:20 +01:00
Hide room view in timetable item if there is no room in API (#2026)
This commit is contained in:
parent
22a4f509dc
commit
7bee10d5ce
@ -191,7 +191,7 @@ class TimetableAdapter @Inject constructor() :
|
|||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
timetableItemDescription.visibility = GONE
|
timetableItemDescription.visibility = GONE
|
||||||
timetableItemRoom.visibility = VISIBLE
|
timetableItemRoom.isVisible = lesson.room.isNotBlank() || lesson.roomOld.isNotBlank()
|
||||||
timetableItemGroup.isVisible = item.showGroupsInPlan && lesson.group.isNotBlank()
|
timetableItemGroup.isVisible = item.showGroupsInPlan && lesson.group.isNotBlank()
|
||||||
timetableItemTeacher.visibility = VISIBLE
|
timetableItemTeacher.visibility = VISIBLE
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user