From 436da925476a42239a414b829289b2d0de124c94 Mon Sep 17 00:00:00 2001 From: Mark Dubkov Date: Thu, 14 Sep 2023 10:42:46 +0600 Subject: [PATCH] feat: generic fixes & raise version --- .../commonMain/kotlin/app/meetacy/vm/flow/CFlowWrappers.kt | 6 +++--- gradle/libs.versions.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/commonMain/kotlin/app/meetacy/vm/flow/CFlowWrappers.kt b/core/src/commonMain/kotlin/app/meetacy/vm/flow/CFlowWrappers.kt index fbea99f..e319bc2 100644 --- a/core/src/commonMain/kotlin/app/meetacy/vm/flow/CFlowWrappers.kt +++ b/core/src/commonMain/kotlin/app/meetacy/vm/flow/CFlowWrappers.kt @@ -13,15 +13,15 @@ import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.onEach import kotlin.jvm.JvmName -public class CStateFlow(private val origin: StateFlow) : StateFlow by origin { +public class CStateFlow(private val origin: StateFlow) : StateFlow by origin { public fun subscribe(block: (T) -> Unit): Disposable = flowSubscribe(block) } -public class CSharedFlow(private val origin: SharedFlow) : SharedFlow by origin { +public class CSharedFlow(private val origin: SharedFlow) : SharedFlow by origin { public fun subscribe(block: (T) -> Unit): Disposable = flowSubscribe(block) } -public class CFlow(private val origin: Flow) : Flow by origin { +public class CFlow(private val origin: Flow) : Flow by origin { public fun subscribe(block: (T) -> Unit): Disposable = flowSubscribe(block) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 379e2c3..b0955d6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ androidGradle = "7.4.0" androidLifecycleVersion = "2.6.1" kotlinxCoroutines = "1.7.3" -mvm = "0.0.2" +mvm = "0.0.3" [libraries]