From 448b711db3f21f4f04ae2cca98aa69d2cb017ba1 Mon Sep 17 00:00:00 2001 From: Tangem Date: Fri, 7 Nov 2025 04:12:09 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../tangem/features/welcome/impl/model/WelcomeModel.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/features/welcome/impl/src/main/kotlin/com/tangem/features/welcome/impl/model/WelcomeModel.kt b/features/welcome/impl/src/main/kotlin/com/tangem/features/welcome/impl/model/WelcomeModel.kt index 4dafaf74ca..27d08db855 100644 --- a/features/welcome/impl/src/main/kotlin/com/tangem/features/welcome/impl/model/WelcomeModel.kt +++ b/features/welcome/impl/src/main/kotlin/com/tangem/features/welcome/impl/model/WelcomeModel.kt @@ -7,6 +7,8 @@ import com.tangem.core.decompose.model.Model import com.tangem.core.decompose.navigation.Router import com.tangem.core.decompose.ui.UiMessageSender import com.tangem.core.ui.extensions.TextReference +import com.tangem.core.ui.extensions.resourceReference +import com.tangem.core.ui.message.DialogMessage import com.tangem.core.ui.message.SnackbarMessage import com.tangem.domain.common.wallets.UserWalletsListRepository import com.tangem.domain.common.wallets.error.UnlockWalletError @@ -192,7 +194,12 @@ internal class WelcomeModel @Inject constructor( router.replaceAll(AppRoute.Wallet) } UnlockWalletError.ScannedCardWalletNotMatched -> { - // TODO Scanned card does not match the wallet + uiMessageSender.send( + message = DialogMessage( + title = resourceReference(R.string.common_warning), + message = resourceReference(R.string.error_wrong_wallet_tapped), + ), + ) } UnlockWalletError.UnableToUnlock -> { // TODO Unable to unlock the wallet"