forked from github/szkolny
[Timetable] Disable setting metadata for normal type lessons.
This commit is contained in:
parent
cc1b581d7e
commit
8a825227cb
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user