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,
|
author: String? = null,
|
||||||
artist: String? = null,
|
artist: String? = null,
|
||||||
description: String? = null,
|
description: String? = null,
|
||||||
genre: Array<String>? = null,
|
genre: Array<String> = arrayOf(),
|
||||||
status: Int? = null,
|
status: Int? = null,
|
||||||
): ComicInfoYokai {
|
): ComicInfoYokai {
|
||||||
return create(
|
return create(
|
||||||
|
@ -187,7 +187,7 @@ class CustomMangaManager(val context: Context) {
|
||||||
author = author,
|
author = author,
|
||||||
artist = artist,
|
artist = artist,
|
||||||
description = description,
|
description = description,
|
||||||
genre = genre?.joinToString(", "),
|
genre = genre.takeIf { it.isNotEmpty() }?.joinToString(", "),
|
||||||
status = status,
|
status = status,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue