Fix unexpected skips in strong skipping mode (mihonapp/mihon#940)

(cherry picked from commit 0ce1cf22cdbb7d82df3db1a901253b4973ab027f)
This commit is contained in:
FooIbar 2024-06-23 05:53:49 +08:00 committed by Cuong-Tran
parent 6651483741
commit 16f812974a
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 8 additions and 0 deletions

View file

@ -12,6 +12,7 @@ bom = { group = "dev.chrisbanes.compose", name = "compose-bom", version.ref = "c
foundation = { module = "androidx.compose.foundation:foundation" }
animation = { module = "androidx.compose.animation:animation" }
animation-graphics = { module = "androidx.compose.animation:animation-graphics" }
runtime = { module = "androidx.compose.runtime:runtime" }
ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
ui-util = { module = "androidx.compose.ui:ui-util" }

View file

@ -14,11 +14,15 @@ kotlin {
api(libs.injekt.core)
api(libs.rxjava)
api(libs.jsoup)
// SY -->
api(projects.i18n)
api(projects.i18nSy)
api(kotlinx.reflect)
// SY <--
implementation(project.dependencies.platform(compose.bom))
implementation(compose.runtime)
}
}
val androidMain by getting {

View file

@ -1,5 +1,8 @@
package eu.kanade.tachiyomi.source.model
import androidx.compose.runtime.Stable
@Stable
data class FilterList(val list: List<Filter<*>>) : List<Filter<*>> by list {
constructor(vararg fs: Filter<*>) : this(if (fs.isNotEmpty()) fs.asList() else emptyList())