This commit is contained in:
Secozzi 2024-05-14 08:24:12 +02:00
parent 0ec1583e2d
commit 389ff605d9
No known key found for this signature in database
GPG key ID: 71E9C97D8DDC2662
2 changed files with 2 additions and 4 deletions

View file

@ -40,7 +40,6 @@ import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import eu.kanade.core.util.fastDistinctBy
import eu.kanade.presentation.browse.BaseBrowseItem
import eu.kanade.presentation.browse.anime.components.AnimeExtensionIcon
import eu.kanade.presentation.browse.manga.ExtensionHeader
@ -200,7 +199,7 @@ private fun AnimeExtensionContent(
}
items(
items = items.fastDistinctBy { it.hashCode() },
items = items,
contentType = { "item" },
key = { item ->
when (item.extension) {

View file

@ -43,7 +43,6 @@ import androidx.compose.ui.unit.dp
import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import dev.icerock.moko.resources.StringResource
import eu.kanade.core.util.fastDistinctBy
import eu.kanade.presentation.browse.BaseBrowseItem
import eu.kanade.presentation.browse.manga.components.MangaExtensionIcon
import eu.kanade.presentation.components.WarningBanner
@ -202,7 +201,7 @@ private fun ExtensionContent(
}
items(
items = items.fastDistinctBy { it.hashCode() },
items = items,
contentType = { "item" },
key = { item ->
when (item.extension) {