From 65c1b4def088ba001934e5f66bcfb78b87045050 Mon Sep 17 00:00:00 2001 From: Grishka Date: Wed, 26 Jun 2024 20:27:10 +0300 Subject: [PATCH] oops --- .../org/joinmastodon/android/ui/viewholders/LinkCardHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/viewholders/LinkCardHolder.java b/mastodon/src/main/java/org/joinmastodon/android/ui/viewholders/LinkCardHolder.java index 84479410..12b801c7 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/viewholders/LinkCardHolder.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/viewholders/LinkCardHolder.java @@ -87,7 +87,7 @@ public class LinkCardHolder 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);