AND-148
This commit is contained in:
parent
3cdc27eb94
commit
8ea4c84a29
|
@ -83,6 +83,8 @@ public class LinkCardStatusDisplayItem extends StatusDisplayItem{
|
|||
description.setVisibility(TextUtils.isEmpty(card.description) ? View.GONE : View.VISIBLE);
|
||||
}
|
||||
String cardDomain=Uri.parse(card.url).getHost();
|
||||
if(cardDomain.startsWith("www."))
|
||||
cardDomain=cardDomain.substring(4);
|
||||
if(isLarge && !TextUtils.isEmpty(card.authorName)){
|
||||
domain.setText(itemView.getContext().getString(R.string.article_by_author, card.authorName)+" · "+cardDomain);
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue