fix: temporary workaround for main thread execution

This commit is contained in:
Sam Spycher 2021-10-18 12:33:49 +02:00
parent 0f68f71106
commit 4b96fc2daf

View file

@ -24,6 +24,7 @@ abstract class ErosHistoryDatabase : RoomDatabase() {
ErosHistoryDatabase::class.java, ErosHistoryDatabase::class.java,
"omnipod_eros_history_database.db" "omnipod_eros_history_database.db"
) )
.allowMainThreadQueries()
.fallbackToDestructiveMigration() .fallbackToDestructiveMigration()
.build() .build()
} }