mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
read author prop instead
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
3dd135b106
commit
9e1df07516
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class SearchImagesViewHolder(
|
||||||
if (media.author?.isNotEmpty() == true) {
|
if (media.author?.isNotEmpty() == true) {
|
||||||
binding.categoryImageAuthor.visibility = View.VISIBLE
|
binding.categoryImageAuthor.visibility = View.VISIBLE
|
||||||
binding.categoryImageAuthor.text =
|
binding.categoryImageAuthor.text =
|
||||||
containerView.context.getString(R.string.image_uploaded_by, media.user)
|
containerView.context.getString(R.string.image_uploaded_by, media.author)
|
||||||
} else {
|
} else {
|
||||||
binding.categoryImageAuthor.visibility = View.GONE
|
binding.categoryImageAuthor.visibility = View.GONE
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue