Remove Related manga tab from details

This commit is contained in:
Koitharu
2020-11-20 20:11:38 +02:00
parent 971f708e45
commit 12c8cdfd70
14 changed files with 29 additions and 68 deletions

View File

@@ -37,7 +37,7 @@ class LocalListViewModel(
private val mangaList = MutableStateFlow<List<Manga>>(emptyList())
override val content = combine(mangaList, createListModeFlow()) { list, mode ->
when(mode) {
when (mode) {
ListMode.LIST -> list.map { it.toListModel() }
ListMode.DETAILED_LIST -> list.map { it.toListDetailedModel() }
ListMode.GRID -> list.map { it.toGridModel() }