forked from recloudstream/cloudstream
null fix on zoro
This commit is contained in:
parent
24dbf00c67
commit
23871b3036
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class HomeFragment : Fragment() {
|
||||||
activity.loadSearchResult(random)
|
activity.loadSearchResult(random)
|
||||||
}
|
}
|
||||||
|
|
||||||
home_main_text.text = random.name + if (random is AnimeSearchResponse) {
|
home_main_text.text = random.name + if (random is AnimeSearchResponse && !random.dubStatus.isNullOrEmpty()) {
|
||||||
random.dubStatus?.joinToString(prefix = " • ", separator = " | ") { it.name }
|
random.dubStatus?.joinToString(prefix = " • ", separator = " | ") { it.name }
|
||||||
} else ""
|
} else ""
|
||||||
home_main_poster?.setImage(random.posterUrl)
|
home_main_poster?.setImage(random.posterUrl)
|
||||||
|
|
Loading…
Reference in a new issue