Skip to content

Commit 0a2cc19

Browse files
read author prop instead
Signed-off-by: parneet-guraya <[email protected]>
1 parent c117003 commit 0a2cc19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/explore/media/PagedMediaAdapter.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class SearchImagesViewHolder(
5555
if (media.author?.isNotEmpty() == true) {
5656
binding.categoryImageAuthor.visibility = View.VISIBLE
5757
binding.categoryImageAuthor.text =
58-
containerView.context.getString(R.string.image_uploaded_by, media.user)
58+
containerView.context.getString(R.string.image_uploaded_by, media.author)
5959
} else {
6060
binding.categoryImageAuthor.visibility = View.GONE
6161
}

0 commit comments

Comments
 (0)