Fix unexpected skips in strong skipping mode (#940)

This commit is contained in:
FooIbar 2024-06-23 05:53:49 +08:00 committed by GitHub
parent 4ed2062cab
commit 0ce1cf22cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,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

@ -13,6 +13,9 @@ kotlin {
api(libs.injekt.core)
api(libs.rxjava)
api(libs.jsoup)
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())