Won't show Related title row if nothing found
This commit is contained in:
parent
8dff9ea669
commit
6c844e9ecb
1 changed files with 8 additions and 6 deletions
|
|
@ -589,12 +589,14 @@ private fun MangaScreenSmallImpl(
|
||||||
onClick = onRelatedMangasScreenClick,
|
onClick = onRelatedMangasScreenClick,
|
||||||
onLongClick = null,
|
onLongClick = null,
|
||||||
)
|
)
|
||||||
RelatedMangas(
|
if (state.relatedMangasSorted == null || state.relatedMangasSorted.isNotEmpty()) {
|
||||||
relatedMangas = state.relatedMangasSorted,
|
RelatedMangas(
|
||||||
getMangaState = getMangaState,
|
relatedMangas = state.relatedMangasSorted,
|
||||||
onMangaClick = onRelatedMangaClick,
|
getMangaState = getMangaState,
|
||||||
onMangaLongClick = onRelatedMangaLongClick
|
onMangaClick = onRelatedMangaClick,
|
||||||
)
|
onMangaLongClick = onRelatedMangaLongClick,
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue