Koharu: Show others (#4850)

* Koharu: add others to description

* Koharu: change others to genre
This commit is contained in:
dngonz 2024-09-01 09:14:47 +02:00 committed by Draff
parent 5e5e60e8bd
commit 07a8f8fe9e
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Koharu' extName = 'Koharu'
extClass = '.Koharu' extClass = '.Koharu'
extVersionCode = 7 extVersionCode = 8
isNsfw = true isNsfw = true
} }

View File

@ -234,7 +234,7 @@ class Koharu : HttpSource(), ConfigurableSource {
author = (circles.emptyToNull() ?: artists).joinToString { it.capitalizeEach() } author = (circles.emptyToNull() ?: artists).joinToString { it.capitalizeEach() }
artist = artists.joinToString { it.capitalizeEach() } artist = artists.joinToString { it.capitalizeEach() }
genre = (tags + males + females + mixed).joinToString { it.capitalizeEach() } genre = (tags + males + females + mixed + other).joinToString { it.capitalizeEach() }
description = buildString { description = buildString {
circles.joinAndCapitalizeEach()?.let { circles.joinAndCapitalizeEach()?.let {
append("Circles: ", it, "\n") append("Circles: ", it, "\n")