diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt index 7c3f34eee7..13b3be80dc 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt @@ -146,10 +146,10 @@ class MangaHeaderHolder( ) else manga_genres_tags.setTags(emptyList()) - if (manga.author == manga.artist || manga.artist.isNullOrBlank()) manga_author.text = - manga.author?.trim() - else { - manga_author.text = "${manga.author?.trim()}, ${manga.artist}" + if (manga.author == manga.artist || manga.artist.isNullOrBlank()) { + manga_author.text = manga.author?.trim() + } else { + manga_author.text = listOfNotNull(manga.author?.trim(), manga.artist?.trim()).joinToString(", ") } manga_summary.text = if (manga.description.isNullOrBlank()) itemView.context.getString(R.string.no_description)