We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b4e40 commit 864f00cCopy full SHA for 864f00c
1 file changed
apps/flipcash/features/cash/src/main/kotlin/com/flipcash/app/cash/internal/CashScreenViewModel.kt
@@ -316,9 +316,9 @@ internal class CashScreenViewModel @Inject constructor(
316
.filterIsInstance<Event.AddCashToWallet>()
317
.map { it.amount }
318
.onEach { amount ->
319
- analytics.openOnramp(AnalyticsEvent.OnRampOpenEvent.Give)
320
val provider = stateFlow.value.preferredOnRampProvider
321
if (provider is OnRampProvider.Coinbase && provider.type == OnRampType.Virtual) {
+ analytics.openOnramp(AnalyticsEvent.OnRampOpenEvent.Give)
322
// has coinbase provider supporting google pay - pop selection for quick add
323
dispatchEvent(Event.OpenOnRampAmountModal(amount))
324
} else {
0 commit comments