Fix non-translatable strings

This commit is contained in:
Koitharu
2022-02-26 12:06:19 +02:00
parent 62a177fcb3
commit a2d3b88c08
2 changed files with 9 additions and 8 deletions

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_cross, 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 + 3)
result += headerModel
@@ -128,4 +128,4 @@ class RemoteListViewModel(
}
}
}
}
}