diff --git a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt index cb209dc37..f75ad0f21 100644 --- a/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/rss/article/RssArticlesAdapter.kt @@ -16,11 +16,6 @@ class RssArticlesAdapter(context: Context, val callBack: CallBack) : with(holder.itemView) { tv_title.text = item.title tv_pub_date.text = item.pubDate - if (item.author.isNullOrBlank()) { - tv_author.text = item.link - } else { - tv_author.text = item.author - } onClick { callBack.readRss(item) } diff --git a/app/src/main/res/layout/item_rss_article.xml b/app/src/main/res/layout/item_rss_article.xml index 8f9c1d03b..6a9e5aba1 100644 --- a/app/src/main/res/layout/item_rss_article.xml +++ b/app/src/main/res/layout/item_rss_article.xml @@ -1,45 +1,43 @@ - + android:layout_height="100dp" + android:padding="16dp"> - + - + - + - - - - \ No newline at end of file + \ No newline at end of file