From ef2c5cead10355a7827db10007b664a1750ac77c Mon Sep 17 00:00:00 2001 From: y9san9 Date: Wed, 1 May 2024 03:21:10 +0300 Subject: [PATCH] fix: fixed nullability in TypedValue.Generic --- gradle/libs.versions.toml | 2 +- .../kotlin/ksm/navigation/state/parameters/StateContext.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0a4ebbc..3b27df2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ androidx-lifecycle = "2.7.0" ktgbotapi = "11.0.0" mdi = "0.0.37" -ksm = "0.0.27" +ksm = "0.0.28" [libraries] diff --git a/navigation/src/commonMain/kotlin/ksm/navigation/state/parameters/StateContext.kt b/navigation/src/commonMain/kotlin/ksm/navigation/state/parameters/StateContext.kt index 05280af..7a6c0db 100644 --- a/navigation/src/commonMain/kotlin/ksm/navigation/state/parameters/StateContext.kt +++ b/navigation/src/commonMain/kotlin/ksm/navigation/state/parameters/StateContext.kt @@ -27,7 +27,7 @@ public inline fun StateContext.receiveParameter(key: String): T? { return plugin(StateParametersPlugin).receive( context = this, key = key - )?.get() + )?.get() } public fun StateContext.receiveParameter(