Merge pull request #3627 from ByteHamster/show-custom-title-on-download-log-page

Show custom title on download log page
This commit is contained in:
H. Lehmann 2019-11-21 10:04:44 +01:00 committed by GitHub
commit 89e6556ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -260,7 +260,9 @@ public class Feed extends FeedFile implements ImageResource {
@Override
public String getHumanReadableIdentifier() {
if (feedTitle != null) {
if (!TextUtils.isEmpty(customTitle)) {
return customTitle;
} else if (!TextUtils.isEmpty(feedTitle)) {
return feedTitle;
} else {
return download_url;