diff --git a/app/build.gradle b/app/build.gradle index 5219fed34..33e80058d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -179,7 +179,7 @@ huaweiPublish { ext { work_manager = "2.7.1" android_hilt = "1.0.0" - room = "2.4.3" + room = "2.5.0" chucker = "3.5.2" mockk = "1.13.3" coroutines = "1.6.4" diff --git a/app/src/main/java/io/github/wulkanowy/data/db/dao/StudentDao.kt b/app/src/main/java/io/github/wulkanowy/data/db/dao/StudentDao.kt index 87b3e0b32..cfa7a72a2 100644 --- a/app/src/main/java/io/github/wulkanowy/data/db/dao/StudentDao.kt +++ b/app/src/main/java/io/github/wulkanowy/data/db/dao/StudentDao.kt @@ -1,7 +1,6 @@ package io.github.wulkanowy.data.db.dao import androidx.room.* -import androidx.room.OnConflictStrategy.ABORT import io.github.wulkanowy.data.db.entities.Student import io.github.wulkanowy.data.db.entities.StudentNickAndAvatar import io.github.wulkanowy.data.db.entities.StudentWithSemesters @@ -11,7 +10,7 @@ import javax.inject.Singleton @Dao abstract class StudentDao { - @Insert(onConflict = ABORT) + @Insert(onConflict = OnConflictStrategy.ABORT) abstract suspend fun insertAll(student: List): List @Delete