From 61473876dac745daa59a879d804c63875d6024cd Mon Sep 17 00:00:00 2001 From: DevSrSouza Date: Sat, 23 Mar 2024 11:03:47 -0300 Subject: [PATCH] adding version of deprecation cycle --- .../commonMain/kotlin/cafe/adriel/voyager/koin/ScreenModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voyager-koin/src/commonMain/kotlin/cafe/adriel/voyager/koin/ScreenModel.kt b/voyager-koin/src/commonMain/kotlin/cafe/adriel/voyager/koin/ScreenModel.kt index b4b3c3d7..b70e808e 100644 --- a/voyager-koin/src/commonMain/kotlin/cafe/adriel/voyager/koin/ScreenModel.kt +++ b/voyager-koin/src/commonMain/kotlin/cafe/adriel/voyager/koin/ScreenModel.kt @@ -40,7 +40,7 @@ public inline fun Navigator.koinNavigatorScreenModel( } @Deprecated( - message = "use koinScreenModel() instead", + message = "use koinScreenModel() instead. Will be removed on 1.1.0", replaceWith = ReplaceWith("koinScreenModel") ) @Composable @@ -50,7 +50,7 @@ public inline fun Screen.getScreenModel( ): T = koinScreenModel(qualifier = qualifier, parameters = parameters) @Deprecated( - message = "use koinNavigatorScreenModel() instead", + message = "use koinNavigatorScreenModel() instead. Will be removed on 1.1.0", replaceWith = ReplaceWith("koinNavigatorScreenModel") ) @Composable