mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Don't show directed by line if director is unknown
This commit is contained in:
parent
df2f03cf83
commit
f7efbf9f87
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ fun MovieDetailsHeader(
|
||||||
movie.data.people
|
movie.data.people
|
||||||
?.filter { it.type == PersonKind.DIRECTOR && it.name.isNotNullOrBlank() }
|
?.filter { it.type == PersonKind.DIRECTOR && it.name.isNotNullOrBlank() }
|
||||||
?.joinToString(", ") { it.name!! }
|
?.joinToString(", ") { it.name!! }
|
||||||
|
?.takeIf { it.isNotNullOrBlank() }
|
||||||
}
|
}
|
||||||
|
|
||||||
directorName
|
directorName
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue