diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/TimetableManager.kt b/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/TimetableManager.kt index a9ea6695..7a5e89fe 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/TimetableManager.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/utils/managers/TimetableManager.kt @@ -25,6 +25,8 @@ class TimetableManager(val app: App) : CoroutineScope { fun markAsSeen(lesson: LessonFull) { lesson.seen = true + if (lesson.type <= Lesson.TYPE_NORMAL) + return startCoroutineTimer(500L, 0L) { app.db.metadataDao().setSeen(lesson.profileId, lesson, true) }