diff --git a/features/onramp/impl/src/main/kotlin/com/tangem/features/onramp/confirmresidency/model/ConfirmResidencyModel.kt b/features/onramp/impl/src/main/kotlin/com/tangem/features/onramp/confirmresidency/model/ConfirmResidencyModel.kt index ae4f2efc46..04021d82cc 100644 --- a/features/onramp/impl/src/main/kotlin/com/tangem/features/onramp/confirmresidency/model/ConfirmResidencyModel.kt +++ b/features/onramp/impl/src/main/kotlin/com/tangem/features/onramp/confirmresidency/model/ConfirmResidencyModel.kt @@ -52,8 +52,10 @@ internal class ConfirmResidencyModel @Inject constructor( ConfirmResidencyUM.ActionButtonConfig( onClick = { analyticsEventHandler.send(OnrampAnalyticsEvent.OnResidenceConfirm(country.name)) - modelScope.launch { saveDefaultCountryUseCase.invoke(country) } - params.onDismiss() + modelScope.launch { + saveDefaultCountryUseCase.invoke(country) + params.onDismiss() + } }, text = resourceReference(R.string.common_confirm), )