Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
toluo-stripe committed Jan 24, 2025
1 parent af59a0e commit 7fedbb7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package com.stripe.android.link

import com.stripe.android.core.exception.StripeException

class LinkEventException(override val cause: Throwable): StripeException(cause = cause)
internal class LinkEventException(override val cause: Throwable) : StripeException(cause = cause)
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import com.stripe.android.link.analytics.LinkEventsReporter
import com.stripe.android.link.confirmation.LinkConfirmationHandler
import com.stripe.android.paymentelement.confirmation.injection.DefaultConfirmationModule
import com.stripe.android.payments.core.injection.STATUS_BAR_COLOR
import com.stripe.attestation.IntegrityRequestManager
import dagger.BindsInstance
import dagger.Component
import javax.inject.Named
Expand All @@ -41,7 +40,6 @@ internal interface NativeLinkComponent {
val linkConfirmationHandlerFactory: LinkConfirmationHandler.Factory
val webLinkActivityContract: WebLinkActivityContract
val cardAccountRangeRepositoryFactory: CardAccountRangeRepository.Factory
val integrityRequestManager: IntegrityRequestManager
val viewModel: LinkActivityViewModel

@Component.Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,5 @@ private class FakeNativeLinkComponent(
override val webLinkActivityContract: WebLinkActivityContract = mock(),
override val cardAccountRangeRepositoryFactory: CardAccountRangeRepository.Factory =
NullCardAccountRangeRepositoryFactory,
override val integrityRequestManager: IntegrityRequestManager = FakeIntegrityRequestManager(),
override val viewModel: LinkActivityViewModel = mock()
) : NativeLinkComponent

0 comments on commit 7fedbb7

Please sign in to comment.