diff --git a/data/src/commonMain/kotlin/org/tasks/data/RoomDatabaseExtensions.kt b/data/src/commonMain/kotlin/org/tasks/data/RoomDatabaseExtensions.kt index 17eeecb5f..f561572bb 100644 --- a/data/src/commonMain/kotlin/org/tasks/data/RoomDatabaseExtensions.kt +++ b/data/src/commonMain/kotlin/org/tasks/data/RoomDatabaseExtensions.kt @@ -9,7 +9,7 @@ import androidx.sqlite.SQLiteStatement suspend fun RoomDatabase.withTransaction(block: suspend TransactionScope.() -> T): T = useWriterConnection { transactor -> - transactor.withTransaction(Transactor.SQLiteTransactionType.DEFERRED) { + transactor.withTransaction(Transactor.SQLiteTransactionType.IMMEDIATE) { block() } }