Updated on 2026-08-14
This commit is contained in:
parent
8b75e37e30
commit
a9bca131c3
386 changed files with 1369 additions and 1347 deletions
|
|
@ -26,6 +26,7 @@ dependencies {
|
|||
implementation(projects.core.navigation)
|
||||
implementation(projects.core.res)
|
||||
implementation(projects.core.ui)
|
||||
implementation(projects.core.utils)
|
||||
implementation(projects.core.analytics)
|
||||
|
||||
/** AndroidX */
|
||||
|
|
@ -37,10 +38,9 @@ dependencies {
|
|||
implementation(deps.compose.ui.tooling)
|
||||
|
||||
/** Others */
|
||||
implementation(deps.kotlin.immutable.collections)
|
||||
implementation(deps.compose.coil)
|
||||
implementation(deps.timber)
|
||||
implementation(deps.arrow.core)
|
||||
implementation(deps.compose.coil)
|
||||
implementation(deps.kotlin.immutable.collections)
|
||||
|
||||
/** DI */
|
||||
implementation(deps.hilt.android)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
|
|||
import kotlinx.coroutines.flow.StateFlow
|
||||
import kotlinx.coroutines.flow.update
|
||||
import kotlinx.coroutines.launch
|
||||
import timber.log.Timber
|
||||
import com.tangem.utils.logging.TangemLogger
|
||||
import javax.inject.Inject
|
||||
|
||||
internal class StoriesModel @Inject constructor(
|
||||
|
|
@ -52,7 +52,7 @@ internal class StoriesModel @Inject constructor(
|
|||
modelScope.launch {
|
||||
getStoryContentUseCase.invokeSync(params.storyId).fold(
|
||||
ifLeft = {
|
||||
Timber.e("Unable to load stories for ${params.storyId}")
|
||||
TangemLogger.e("Unable to load stories for ${params.storyId}")
|
||||
openScreen(hideStories = false)
|
||||
},
|
||||
ifRight = { story ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue