From 53a0e0ce1073019d4d3d1211caa5f221f7090d90 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 16 Dec 2020 12:22:28 +0100 Subject: [PATCH] Remove useless @Inject --- .../im/vector/app/core/platform/SimpleFragmentActivity.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/core/platform/SimpleFragmentActivity.kt b/vector/src/main/java/im/vector/app/core/platform/SimpleFragmentActivity.kt index 4500c23fb1..4e961d87c4 100644 --- a/vector/src/main/java/im/vector/app/core/platform/SimpleFragmentActivity.kt +++ b/vector/src/main/java/im/vector/app/core/platform/SimpleFragmentActivity.kt @@ -23,7 +23,6 @@ import im.vector.app.core.extensions.hideKeyboard import im.vector.app.databinding.ActivityBinding import org.matrix.android.sdk.api.session.Session -import javax.inject.Inject /** * Simple activity with a toolbar, a waiting overlay, and a fragment container and a session. @@ -32,8 +31,7 @@ abstract class SimpleFragmentActivity : VectorBaseActivity() { final override fun getBinding() = ActivityBinding.inflate(layoutInflater) - // TODO BMA This is strange to have @Inject AND assign this member in injectWith() - @Inject lateinit var session: Session + lateinit var session: Session @CallSuper override fun injectWith(injector: ScreenComponent) {