diff --git a/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java b/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java index f1e03cef..f3e43f95 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java +++ b/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java @@ -18,6 +18,8 @@ public class LacertaDatabaseModule { public static LacertaDatabase provideLacertaDatabase(@ApplicationContext Context context) { return Room.databaseBuilder(context, LacertaDatabase.class, - "lacerta.db").build(); + "lacerta.db") + .allowMainThreadQueries() // Debug + .build(); } }