add a link to the authetication register.

This commit is contained in:
Thomas Andres Gomez 2021-05-08 22:29:45 +02:00
parent e4eeb2d4af
commit 24ec682e34
3 changed files with 6 additions and 13 deletions

View file

@ -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)
}

View file

@ -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