Update dependencies & application version.

This commit is contained in:
Thomas Andres Gomez 2022-06-21 17:47:34 +02:00
parent 4f3fabc4d6
commit 52cfe78b6e
4 changed files with 20 additions and 21 deletions

View file

@ -77,7 +77,8 @@ class BottomDetailStateController constructor(
scope.launch {
when (val book = viewModel.getDetail(id)) {
is StateUio.Failure -> {
context.showToast(message = context.getString(R.string.error_generic))
val mes = book.exception.message ?: context.getString(R.string.error_generic)
context.showToast(message = mes)
}
is StateUio.Success -> {
bookDetail.value = book.value