* Show username instead of revision.content in image caption
This commit is contained in:
Ashish Kumar 2019-04-08 13:04:29 +05:30 committed by neslihanturan
parent 07c335e054
commit ce69c283cd

View file

@ -146,7 +146,7 @@ public class ReviewActivity extends AuthenticatedActivity {
.subscribe(revision -> {
reviewController.firstRevision = revision;
reviewPagerAdapter.updateFileInformation(fileName);
((TextView) imageCaption).setText(fileName + " is uploaded by: " + revision.content());
((TextView) imageCaption).setText(fileName + " is uploaded by: " + revision.getUser());
progressBar.setVisibility(View.GONE);
}));
reviewPager.setCurrentItem(0);