Merge pull request #1796 from FunkyMuse/master

fix: database crash
This commit is contained in:
Tibor Kaputa 2023-08-23 10:31:01 +02:00 committed by GitHub
commit c3d56ea0d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,12 +12,12 @@ import com.simplemobiletools.commons.helpers.FIRST_CONTACT_ID
import com.simplemobiletools.commons.helpers.FIRST_GROUP_ID
import com.simplemobiletools.commons.helpers.getEmptyLocalContact
import com.simplemobiletools.commons.interfaces.ContactsDao
import com.simplemobiletools.commons.interfaces.GroupsDao
import com.simplemobiletools.commons.models.contacts.Group
import com.simplemobiletools.commons.models.contacts.LocalContact
import com.simplemobiletools.commons.interfaces.GroupsDao
import java.util.concurrent.Executors
@Database(entities = [LocalContact::class, Group::class], version = 3)
@Database(entities = [LocalContact::class, Group::class], version = 3, exportSchema = true)
@TypeConverters(Converters::class)
abstract class ContactsDatabase : RoomDatabase() {