mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 08:16:36 +03:00
Revert 4fe7681
This commit is contained in:
parent
0ec1583e2d
commit
389ff605d9
2 changed files with 2 additions and 4 deletions
|
@ -40,7 +40,6 @@ import androidx.compose.ui.text.style.TextOverflow
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import cafe.adriel.voyager.navigator.LocalNavigator
|
import cafe.adriel.voyager.navigator.LocalNavigator
|
||||||
import cafe.adriel.voyager.navigator.currentOrThrow
|
import cafe.adriel.voyager.navigator.currentOrThrow
|
||||||
import eu.kanade.core.util.fastDistinctBy
|
|
||||||
import eu.kanade.presentation.browse.BaseBrowseItem
|
import eu.kanade.presentation.browse.BaseBrowseItem
|
||||||
import eu.kanade.presentation.browse.anime.components.AnimeExtensionIcon
|
import eu.kanade.presentation.browse.anime.components.AnimeExtensionIcon
|
||||||
import eu.kanade.presentation.browse.manga.ExtensionHeader
|
import eu.kanade.presentation.browse.manga.ExtensionHeader
|
||||||
|
@ -200,7 +199,7 @@ private fun AnimeExtensionContent(
|
||||||
}
|
}
|
||||||
|
|
||||||
items(
|
items(
|
||||||
items = items.fastDistinctBy { it.hashCode() },
|
items = items,
|
||||||
contentType = { "item" },
|
contentType = { "item" },
|
||||||
key = { item ->
|
key = { item ->
|
||||||
when (item.extension) {
|
when (item.extension) {
|
||||||
|
|
|
@ -43,7 +43,6 @@ import androidx.compose.ui.unit.dp
|
||||||
import cafe.adriel.voyager.navigator.LocalNavigator
|
import cafe.adriel.voyager.navigator.LocalNavigator
|
||||||
import cafe.adriel.voyager.navigator.currentOrThrow
|
import cafe.adriel.voyager.navigator.currentOrThrow
|
||||||
import dev.icerock.moko.resources.StringResource
|
import dev.icerock.moko.resources.StringResource
|
||||||
import eu.kanade.core.util.fastDistinctBy
|
|
||||||
import eu.kanade.presentation.browse.BaseBrowseItem
|
import eu.kanade.presentation.browse.BaseBrowseItem
|
||||||
import eu.kanade.presentation.browse.manga.components.MangaExtensionIcon
|
import eu.kanade.presentation.browse.manga.components.MangaExtensionIcon
|
||||||
import eu.kanade.presentation.components.WarningBanner
|
import eu.kanade.presentation.components.WarningBanner
|
||||||
|
@ -202,7 +201,7 @@ private fun ExtensionContent(
|
||||||
}
|
}
|
||||||
|
|
||||||
items(
|
items(
|
||||||
items = items.fastDistinctBy { it.hashCode() },
|
items = items,
|
||||||
contentType = { "item" },
|
contentType = { "item" },
|
||||||
key = { item ->
|
key = { item ->
|
||||||
when (item.extension) {
|
when (item.extension) {
|
||||||
|
|
Loading…
Reference in a new issue