diff --git a/vector/src/main/java/im/vector/app/features/login/LoginWebFragment.kt b/vector/src/main/java/im/vector/app/features/login/LoginWebFragment.kt index f1558518f7..bb73ed79b2 100644 --- a/vector/src/main/java/im/vector/app/features/login/LoginWebFragment.kt +++ b/vector/src/main/java/im/vector/app/features/login/LoginWebFragment.kt @@ -51,8 +51,6 @@ class LoginWebFragment @Inject constructor( private val assetReader: AssetReader ) : AbstractLoginFragment() { - // TODO I noticed in the Git history this variable was a local variable inside notifyViewModel method - // TODO was there any reason ? To be able to create this ViewModel we must be sure we will have a valid session private val softLogoutViewModel: SoftLogoutViewModel by activityViewModel() override fun getBinding(inflater: LayoutInflater, container: ViewGroup?): FragmentLoginWebBinding { diff --git a/vector/src/main/java/im/vector/app/features/login2/LoginWebFragment2.kt b/vector/src/main/java/im/vector/app/features/login2/LoginWebFragment2.kt index 4e28d8e56c..4427f08309 100644 --- a/vector/src/main/java/im/vector/app/features/login2/LoginWebFragment2.kt +++ b/vector/src/main/java/im/vector/app/features/login2/LoginWebFragment2.kt @@ -56,8 +56,6 @@ class LoginWebFragment2 @Inject constructor( return FragmentLoginWebBinding.inflate(inflater, container, false) } - // TODO I noticed in the Git history this variable was a local variable inside notifyViewModel method - // TODO was there any reason ? To be able to create this ViewModel we must be sure we will have a valid session private val softLogoutViewModel: SoftLogoutViewModel by activityViewModel() private var isWebViewLoaded = false @@ -84,7 +82,7 @@ class LoginWebFragment2 @Inject constructor( private fun setupTitle(state: LoginViewState2) { toolbar?.title = when (state.signMode) { SignMode2.SignIn -> getString(R.string.login_signin) - else -> getString(R.string.login_signup) + else -> getString(R.string.login_signup) } }