auth to server-V98
This commit is contained in:
parent
51a4d3512c
commit
e5dfb736f0
1 changed files with 0 additions and 4 deletions
|
|
@ -222,10 +222,6 @@ fun AddAccountScreen(
|
|||
|
||||
|
||||
when (uiState) {
|
||||
is LoginUiState.Success -> {
|
||||
val user = (uiState as LoginUiState.Success).user
|
||||
Text("歡迎,${user.display_name}")
|
||||
}
|
||||
is LoginUiState.Error -> {
|
||||
Text(text = (uiState as LoginUiState.Error).message, color = Color.Red)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue