mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-25 01:00:55 +01:00
Removing TODOs
This commit is contained in:
parent
f050fc1e4a
commit
21fa0267f6
@ -51,8 +51,6 @@ class LoginWebFragment @Inject constructor(
|
||||
private val assetReader: AssetReader
|
||||
) : AbstractLoginFragment<FragmentLoginWebBinding>() {
|
||||
|
||||
// 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 {
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user