Skip to content

Commit

Permalink
Pass drop-in AnalyticsManager correctly to CashAppComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarSpruit committed Sep 12, 2024
1 parent e2b50c1 commit 973f2cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ internal fun getComponentFor(
}

checkCompileOnly { CashAppPayComponent.PROVIDER.isPaymentMethodSupported(storedPaymentMethod) } -> {
CashAppPayComponentProvider(dropInOverrideParams).get(
CashAppPayComponentProvider(dropInOverrideParams, analyticsManager).get(
fragment = fragment,
storedPaymentMethod = storedPaymentMethod,
checkoutConfiguration = checkoutConfiguration,
Expand Down Expand Up @@ -240,7 +240,7 @@ internal fun getComponentFor(
}

checkCompileOnly { CashAppPayComponent.PROVIDER.isPaymentMethodSupported(paymentMethod) } -> {
CashAppPayComponentProvider(dropInOverrideParams).get(
CashAppPayComponentProvider(dropInOverrideParams, analyticsManager).get(
fragment = fragment,
paymentMethod = paymentMethod,
checkoutConfiguration = checkoutConfiguration,
Expand Down

0 comments on commit 973f2cd

Please sign in to comment.