Update AdminViewModel.kt
This commit is contained in:
parent
6bac297408
commit
480e7fcf7f
@ -47,11 +47,11 @@ class AdminViewModel(
|
|||||||
},
|
},
|
||||||
onFailure = { error ->
|
onFailure = { error ->
|
||||||
Log.d("kaput", error.message.toString())
|
Log.d("kaput", error.message.toString())
|
||||||
State.Error(error.message.toString())
|
State.Error("Не удалось загрузить профиль")
|
||||||
}
|
}
|
||||||
) as State
|
) as State
|
||||||
)
|
)
|
||||||
_state.emit(State.Error("Не удалось загрузить профиль"))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user