Updated on 2026-08-14
This commit is contained in:
parent
8b75e37e30
commit
a9bca131c3
386 changed files with 1369 additions and 1347 deletions
|
|
@ -52,7 +52,6 @@ dependencies {
|
|||
/** Other libraries */
|
||||
implementation(platform(deps.firebase.bom))
|
||||
implementation(deps.firebase.analytics)
|
||||
implementation(deps.timber)
|
||||
|
||||
// region DI
|
||||
implementation(deps.hilt.android)
|
||||
|
|
|
|||
|
|
@ -12,13 +12,14 @@ dependencies {
|
|||
// endregion
|
||||
|
||||
// region Domain modules
|
||||
implementation(project(":domain:models"))
|
||||
implementation(projects.domain.models)
|
||||
// endregion
|
||||
|
||||
implementation(projects.core.utils)
|
||||
|
||||
// region Other libraries
|
||||
implementation(deps.kotlin.serialization)
|
||||
implementation(deps.moshi.kotlin)
|
||||
implementation(deps.timber)
|
||||
ksp(deps.moshi.kotlin.codegen)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ package com.tangem.domain.wallets.usecase
|
|||
import com.tangem.domain.models.wallet.UserWalletId
|
||||
import com.tangem.domain.wallets.repository.WalletsRepository
|
||||
import com.tangem.utils.coroutines.runSuspendCatching
|
||||
import timber.log.Timber
|
||||
import com.tangem.utils.logging.TangemLogger
|
||||
|
||||
/**
|
||||
* Use case to sync wallet with remote
|
||||
|
|
@ -16,6 +16,6 @@ class SyncWalletWithRemoteUseCase(
|
|||
|
||||
suspend operator fun invoke(userWalletId: UserWalletId) {
|
||||
runSuspendCatching { walletsRepository.createWallet(userWalletId) }
|
||||
.onFailure(Timber::e)
|
||||
.onFailure { TangemLogger.e("Error", it) }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue