This commit is contained in:
Grishka 2024-06-26 20:27:10 +03:00
parent 461eac8932
commit 65c1b4def0
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class LinkCardHolder<T extends LinkCardHolder.LinkCardProvider> extends S
}
String cardDomain=HtmlParser.normalizeDomain(Objects.requireNonNull(Uri.parse(card.url).getHost()));
domain.setText(TextUtils.isEmpty(card.providerName) ? cardDomain : card.providerName);
String authorName=card.authors!=null && !card.authors.isEmpty() ? card.authors.get(0).name : null;
String authorName=card.authors!=null && !card.authors.isEmpty() ? card.authors.get(0).name : card.authorName;
if(cardVM.parsedAuthorName!=null){
authorFooter.setVisibility(View.VISIBLE);