Updated on 2026-08-14
This commit is contained in:
parent
5a8ebb312c
commit
047a48eaf0
12 changed files with 76 additions and 18 deletions
|
|
@ -75,7 +75,12 @@ internal class UserWalletSaver @Inject constructor(
|
|||
|
||||
private suspend fun Raise<Error>.saveWallet(userWallet: UserWallet) {
|
||||
fold(
|
||||
block = { saveWalletUseCase(userWallet).bind() },
|
||||
block = {
|
||||
saveWalletUseCase(
|
||||
userWallet = userWallet,
|
||||
analyticsSource = AnalyticsParam.ScreensSources.Settings,
|
||||
).bind()
|
||||
},
|
||||
recover = { error ->
|
||||
when (error) {
|
||||
is SaveWalletError.WalletAlreadySaved -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue