[APIv2/Timetable] Add showing unread lesson changes

This commit is contained in:
Kacper Ziubryniewicz
2019-11-23 22:26:21 +01:00
parent 6a4994b9c2
commit cd76f99bbf
3 changed files with 27 additions and 1 deletions

View File

@ -247,6 +247,8 @@ class TimetableDayFragment : Fragment(), CoroutineScope {
lb.detailsFirst.text = listOfNotEmpty(timeRange, classroomInfo).concat(bullet)
lb.detailsSecond.text = listOfNotEmpty(teacherInfo, teamInfo).concat(bullet)
lb.unread = lesson.type != Lesson.TYPE_NORMAL && !lesson.seen
//lb.subjectName.typeface = Typeface.create("sans-serif-light", Typeface.BOLD)
when (lesson.type) {
Lesson.TYPE_NORMAL -> {