forked from GitHub-Mirror/riotX-android
Clean forgotten code
This commit is contained in:
parent
17dcbc1cd6
commit
1d5587c5ba
@ -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())
|
||||
|
@ -38,7 +38,7 @@ internal class SessionModule(private val sessionParams: SessionParams) : Module
|
||||
RealmConfiguration.Builder()
|
||||
.directory(directory)
|
||||
.name("disk_store.realm")
|
||||
.inMemory()
|
||||
.deleteRealmIfMigrationNeeded()
|
||||
.build()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user