Forgot set correct icon

This commit is contained in:
ztimms73
2021-06-20 20:13:19 +03:00
parent f50a8b3112
commit 445128f462

View File

@@ -37,7 +37,7 @@ class RemoteListViewModel(
when {
list.isNullOrEmpty() && error != null -> listOf(error.toErrorState(canRetry = true))
list == null -> listOf(LoadingState)
list.isEmpty() -> listOf(EmptyState(R.drawable.ic_book_search, R.string.nothing_found, R.string._empty))
list.isEmpty() -> listOf(EmptyState(R.drawable.ic_book_cross, R.string.nothing_found, R.string._empty))
else -> {
val result = ArrayList<ListModel>(list.size + 1)
list.toUi(result, mode)