mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
cleanip
This commit is contained in:
parent
8d1a36425d
commit
1af44ce5f7
3 changed files with 2 additions and 6 deletions
|
@ -24,6 +24,6 @@ internal open class SessionParamsEntity(
|
|||
var credentialsJson: String = "",
|
||||
var homeServerConnectionConfigJson: String = "",
|
||||
// Set to false when the token is invalid and the user has been soft logged out
|
||||
// In case of hard logout, this object in deleted from DB
|
||||
// In case of hard logout, this object is deleted from DB
|
||||
var isTokenValid: Boolean = true
|
||||
) : RealmObject()
|
||||
|
|
|
@ -35,13 +35,11 @@ import javax.inject.Inject
|
|||
|
||||
/**
|
||||
* In this screen, the user is viewing a message informing that he has been logged out
|
||||
* Extends LoginActivity to get the login with SSO and forget password functionality for free
|
||||
* Extends LoginActivity to get the login with SSO and forget password functionality for (nearly) free
|
||||
*/
|
||||
class SoftLogoutActivity : LoginActivity() {
|
||||
|
||||
private val softLogoutViewModel: SoftLogoutViewModel by viewModel()
|
||||
// TODO For forgotten pwd
|
||||
// private lateinit var loginSharedActionViewModel: LoginSharedActionViewModel
|
||||
|
||||
@Inject lateinit var softLogoutViewModelFactory: SoftLogoutViewModel.Factory
|
||||
@Inject lateinit var session: Session
|
||||
|
|
|
@ -31,8 +31,6 @@ import im.vector.riotx.core.platform.VectorViewModel
|
|||
import im.vector.riotx.features.login.LoginMode
|
||||
|
||||
/**
|
||||
* TODO SSO
|
||||
* TODO Reset password
|
||||
* TODO Test push: disable the pushers?
|
||||
*/
|
||||
class SoftLogoutViewModel @AssistedInject constructor(
|
||||
|
|
Loading…
Reference in a new issue