Update AdminViewModel.kt

This commit is contained in:
Niktia 2025-02-20 16:40:14 +03:00
parent 6bac297408
commit 480e7fcf7f

View File

@ -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("Не удалось загрузить профиль"))
} }
} }