mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-26 02:48:24 +01:00
Fix unexpected skips in strong skipping mode (#940)
This commit is contained in:
parent
4ed2062cab
commit
0ce1cf22cd
@ -8,6 +8,7 @@ bom = { group = "dev.chrisbanes.compose", name = "compose-bom", version.ref = "c
|
|||||||
foundation = { module = "androidx.compose.foundation:foundation" }
|
foundation = { module = "androidx.compose.foundation:foundation" }
|
||||||
animation = { module = "androidx.compose.animation:animation" }
|
animation = { module = "androidx.compose.animation:animation" }
|
||||||
animation-graphics = { module = "androidx.compose.animation:animation-graphics" }
|
animation-graphics = { module = "androidx.compose.animation:animation-graphics" }
|
||||||
|
runtime = { module = "androidx.compose.runtime:runtime" }
|
||||||
ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
||||||
ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
||||||
ui-util = { module = "androidx.compose.ui:ui-util" }
|
ui-util = { module = "androidx.compose.ui:ui-util" }
|
||||||
|
@ -13,6 +13,9 @@ kotlin {
|
|||||||
api(libs.injekt.core)
|
api(libs.injekt.core)
|
||||||
api(libs.rxjava)
|
api(libs.rxjava)
|
||||||
api(libs.jsoup)
|
api(libs.jsoup)
|
||||||
|
|
||||||
|
implementation(project.dependencies.platform(compose.bom))
|
||||||
|
implementation(compose.runtime)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val androidMain by getting {
|
val androidMain by getting {
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
package eu.kanade.tachiyomi.source.model
|
package eu.kanade.tachiyomi.source.model
|
||||||
|
|
||||||
|
import androidx.compose.runtime.Stable
|
||||||
|
|
||||||
|
@Stable
|
||||||
data class FilterList(val list: List<Filter<*>>) : List<Filter<*>> by list {
|
data class FilterList(val list: List<Filter<*>>) : List<Filter<*>> by list {
|
||||||
|
|
||||||
constructor(vararg fs: Filter<*>) : this(if (fs.isNotEmpty()) fs.asList() else emptyList())
|
constructor(vararg fs: Filter<*>) : this(if (fs.isNotEmpty()) fs.asList() else emptyList())
|
||||||
|
Loading…
Reference in New Issue
Block a user