diff --git a/app/src/main/kotlin/jackall/overlaymulticounter/App.kt b/app/src/main/kotlin/jackall/overlaymulticounter/App.kt index aa6334a..3fce858 100644 --- a/app/src/main/kotlin/jackall/overlaymulticounter/App.kt +++ b/app/src/main/kotlin/jackall/overlaymulticounter/App.kt @@ -2,6 +2,8 @@ import android.annotation.SuppressLint import android.app.Application +import io.realm.Realm +import jackall.overlaymulticounter.db.RealmConfig /** * Created by matsumoto_k on 2017/11/08. @@ -17,5 +19,7 @@ override fun onCreate() { super.onCreate() instance = this + Realm.init(this) + Realm.setDefaultConfiguration(RealmConfig().config) } } \ No newline at end of file