This commit is contained in:
Valere 2020-07-29 09:51:50 +02:00
parent c04f22d3bf
commit 5c32c7388a

View file

@ -45,12 +45,10 @@ internal class SessionRealmConfigurationFactory @Inject constructor(
val migration: RealmSessionStoreMigration, val migration: RealmSessionStoreMigration,
context: Context) { context: Context) {
companion object { companion object {
const val SESSION_STORE_SCHEMA_VERSION = 1L const val SESSION_STORE_SCHEMA_VERSION = 1L
} }
private val sharedPreferences = context.getSharedPreferences("im.vector.matrix.android.realm", Context.MODE_PRIVATE) private val sharedPreferences = context.getSharedPreferences("im.vector.matrix.android.realm", Context.MODE_PRIVATE)
fun create(): RealmConfiguration { fun create(): RealmConfiguration {