mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Ambiguity
This commit is contained in:
parent
fa52b11254
commit
f880d921a5
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ class CustomMangaManager(val context: Context) {
|
|||
author: String? = null,
|
||||
artist: String? = null,
|
||||
description: String? = null,
|
||||
genre: Array<String>? = null,
|
||||
genre: Array<String> = arrayOf(),
|
||||
status: Int? = null,
|
||||
): ComicInfoYokai {
|
||||
return create(
|
||||
|
@ -187,7 +187,7 @@ class CustomMangaManager(val context: Context) {
|
|||
author = author,
|
||||
artist = artist,
|
||||
description = description,
|
||||
genre = genre?.joinToString(", "),
|
||||
genre = genre.takeIf { it.isNotEmpty() }?.joinToString(", "),
|
||||
status = status,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue