mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-06-10 20:50:47 +02:00
[Timetable] Fix removing all lessons when not needed.
This commit is contained in:
@ -289,7 +289,6 @@ open class Data(val app: App, val profile: Profile?, val loginStore: LoginStore)
|
||||
if (lessonChangeList.isNotEmpty())
|
||||
db.lessonChangeDao().addAll(lessonChangeList)
|
||||
if (lessonNewList.isNotEmpty()) {
|
||||
db.timetableDao().clear(profile.id)
|
||||
db.timetableDao() += lessonNewList
|
||||
}
|
||||
if (gradeList.isNotEmpty()) {
|
||||
|
Reference in New Issue
Block a user