add a link to the authetication register.
This commit is contained in:
parent
e4eeb2d4af
commit
24ec682e34
3 changed files with 6 additions and 13 deletions
|
|
@ -73,14 +73,6 @@ class AuthenticationViewModel : ViewModel(), IAuthentication {
|
|||
}
|
||||
}
|
||||
|
||||
override fun register() {
|
||||
viewModelScope.launch {
|
||||
_state.postValue(State.Loading)
|
||||
delay(3000)
|
||||
_state.postValue(State.Error(MissingTokenException()))
|
||||
}
|
||||
}
|
||||
|
||||
override fun clearState() {
|
||||
_state.postValue(State.Initial)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ interface IAuthentication {
|
|||
fun updateRememberCredential(rememberCredential: Boolean)
|
||||
fun clearState()
|
||||
|
||||
fun register()
|
||||
fun login()
|
||||
|
||||
@Composable
|
||||
|
|
@ -40,7 +39,6 @@ interface IAuthentication {
|
|||
override fun updateRememberCredential(rememberCredential: Boolean) = Unit
|
||||
override fun clearState() = Unit
|
||||
|
||||
override fun register() = Unit
|
||||
override fun login() = Unit
|
||||
|
||||
@Composable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue