Skip to content

Commit ce69c28

Browse files
ashishkumar468neslihanturan
authored andcommitted
* Show username instead of revision.content in image caption
1 parent 07c335e commit ce69c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/review/ReviewActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private void updateImage(String fileName) {
146146
.subscribe(revision -> {
147147
reviewController.firstRevision = revision;
148148
reviewPagerAdapter.updateFileInformation(fileName);
149-
((TextView) imageCaption).setText(fileName + " is uploaded by: " + revision.content());
149+
((TextView) imageCaption).setText(fileName + " is uploaded by: " + revision.getUser());
150150
progressBar.setVisibility(View.GONE);
151151
}));
152152
reviewPager.setCurrentItem(0);

0 commit comments

Comments
 (0)