diff --git a/app/src/main/java/com/etesync/syncadapter/App.kt b/app/src/main/java/com/etesync/syncadapter/App.kt index 16508870..3e444471 100644 --- a/app/src/main/java/com/etesync/syncadapter/App.kt +++ b/app/src/main/java/com/etesync/syncadapter/App.kt @@ -51,8 +51,7 @@ class App : Application() { * `@Provides @Singleton`. */ // override onUpgrade to handle migrating to a new version - val data: MyEntityDataStore - get() = initDataStore() + val data = initDataStore() fun initDataStore(): MyEntityDataStore { val source = MyDatabaseSource(this, Models.DEFAULT, 4)