diff --git a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/child/wallet/model/WalletModel.kt b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/child/wallet/model/WalletModel.kt index fe327cc2e0..12f7478a3e 100644 --- a/features/wallet/impl/src/main/java/com/tangem/feature/wallet/child/wallet/model/WalletModel.kt +++ b/features/wallet/impl/src/main/java/com/tangem/feature/wallet/child/wallet/model/WalletModel.kt @@ -357,7 +357,10 @@ internal class WalletModel @Inject constructor( }.distinctUntilChanged(), transform = ::Pair, ).onEach { (inBackground, userWalletId) -> - if (inBackground) return@onEach + if (inBackground) { + updateTangemPayJobHolder.cancel() + return@onEach + } val savedCustomerInfo = tangemPayOnboardingRepository.getSavedCustomerInfo(userWalletId)