Clean forgotten code

This commit is contained in:
ganfra 2018-12-12 11:51:29 +01:00
parent 17dcbc1cd6
commit 1d5587c5ba
2 changed files with 1 additions and 6 deletions

View File

@ -2,7 +2,6 @@ package im.vector.matrix.android.internal.di

import im.vector.matrix.android.internal.network.AccessTokenInterceptor
import im.vector.matrix.android.internal.network.NetworkConnectivityChecker
import im.vector.matrix.android.internal.network.RequestExecutor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import org.koin.dsl.context.ModuleDefinition
@ -51,10 +50,6 @@ class NetworkModule : Module {
NetworkConnectivityChecker(get())
}

single {
RequestExecutor(get(), get())
}

factory {
Retrofit.Builder()
.client(get())

View File

@ -38,7 +38,7 @@ internal class SessionModule(private val sessionParams: SessionParams) : Module
RealmConfiguration.Builder()
.directory(directory)
.name("disk_store.realm")
.inMemory()
.deleteRealmIfMigrationNeeded()
.build()
}