From d03c714e8c06bf63ec5db6ceb194c50d6fb12ae8 Mon Sep 17 00:00:00 2001 From: "a.a.korshun" Date: Fri, 28 Jul 2023 13:51:04 +0600 Subject: [PATCH] add HIDDEN level deprecation --- .../java/ru/tinkoff/kotea/android/ViewModelStoreOwnerExt.kt | 2 +- core/src/main/java/ru/tinkoff/kotea/core/KoteaStoreFactory.kt | 2 +- .../java/ru/tinkoff/kotea/logging/KoteaLoggingStoreFactory.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/java/ru/tinkoff/kotea/android/ViewModelStoreOwnerExt.kt b/android/src/main/java/ru/tinkoff/kotea/android/ViewModelStoreOwnerExt.kt index cbbffd4..6bceb78 100644 --- a/android/src/main/java/ru/tinkoff/kotea/android/ViewModelStoreOwnerExt.kt +++ b/android/src/main/java/ru/tinkoff/kotea/android/ViewModelStoreOwnerExt.kt @@ -42,7 +42,7 @@ fun > storeViaViewModel( } } -@Deprecated("Use storeViewViewModel function with coroutine context param") +@Deprecated("Use storeViewViewModel function with coroutine context param", level = DeprecationLevel.HIDDEN) fun > storeViaViewModel( dispatcher: CoroutineDispatcher = Dispatchers.Default, sharedViewModelKey: String? = null, diff --git a/core/src/main/java/ru/tinkoff/kotea/core/KoteaStoreFactory.kt b/core/src/main/java/ru/tinkoff/kotea/core/KoteaStoreFactory.kt index 1324d43..e80c869 100644 --- a/core/src/main/java/ru/tinkoff/kotea/core/KoteaStoreFactory.kt +++ b/core/src/main/java/ru/tinkoff/kotea/core/KoteaStoreFactory.kt @@ -45,7 +45,7 @@ fun Kotea return StoreImpl(initialState, initialCommands, commandsFlowHandlers, update) } -@Deprecated("Use factory without uncaughtExceptionHandler (don't calling rigt now)") +@Deprecated("Use factory without uncaughtExceptionHandler (don't calling rigt now)", level = DeprecationLevel.HIDDEN) fun KoteaStore( initialState: State, initialCommands: List = emptyList(), diff --git a/logging/src/main/java/ru/tinkoff/kotea/logging/KoteaLoggingStoreFactory.kt b/logging/src/main/java/ru/tinkoff/kotea/logging/KoteaLoggingStoreFactory.kt index 24d6eba..4a2236e 100644 --- a/logging/src/main/java/ru/tinkoff/kotea/logging/KoteaLoggingStoreFactory.kt +++ b/logging/src/main/java/ru/tinkoff/kotea/logging/KoteaLoggingStoreFactory.kt @@ -42,7 +42,7 @@ fun Kotea ) } -@Deprecated("Use factory without uncaughtExceptionHandler (don't calling rigt now)") +@Deprecated("Use factory without uncaughtExceptionHandler (don't calling rigt now)", level = DeprecationLevel.HIDDEN) fun KoteaLoggingStore( initialState: State, initialCommands: List = emptyList(),