diff --git a/Tangem/Modules/Send/UI/OnrampPaymentMethods/OnrampPaymentMethodsView/OnrampPaymentMethodsViewModel.swift b/Tangem/Modules/Send/UI/OnrampPaymentMethods/OnrampPaymentMethodsView/OnrampPaymentMethodsViewModel.swift index 5dd68d8dfc..d213be8a89 100644 --- a/Tangem/Modules/Send/UI/OnrampPaymentMethods/OnrampPaymentMethodsView/OnrampPaymentMethodsViewModel.swift +++ b/Tangem/Modules/Send/UI/OnrampPaymentMethods/OnrampPaymentMethodsView/OnrampPaymentMethodsViewModel.swift @@ -65,7 +65,8 @@ private extension OnrampPaymentMethodsViewModel { iconURL: method.identity.image, isSelected: selectedPaymentMethod == method.identity.code, action: { [weak self] in - self?.selectedPaymentMethod = method.identity.code + self?.selectedPaymentMethod = method.id + self?.interactor.update(selectedPaymentMethod: method) self?.updateView(paymentMethods: methods) } ) diff --git a/Tangem/Modules/Send/UI/OnrampProviders/OnrampProvidersCompactView/OnrampProvidersCompactProviderView/OnrampProvidersCompactProviderView.swift b/Tangem/Modules/Send/UI/OnrampProviders/OnrampProvidersCompactView/OnrampProvidersCompactProviderView/OnrampProvidersCompactProviderView.swift index 6d48001ff4..de89bb640e 100644 --- a/Tangem/Modules/Send/UI/OnrampProviders/OnrampProvidersCompactView/OnrampProvidersCompactProviderView/OnrampProvidersCompactProviderView.swift +++ b/Tangem/Modules/Send/UI/OnrampProviders/OnrampProvidersCompactView/OnrampProvidersCompactProviderView/OnrampProvidersCompactProviderView.swift @@ -50,6 +50,7 @@ struct OnrampProvidersCompactProviderView: View { Text("\(Localization.onrampVia) \(data.providerName)") .style(Fonts.Regular.caption1, color: Colors.Text.tertiary) } + .lineLimit(1) } private var badgeView: some View {