Skip to content

Commit 78330e7

Browse files
committed
Merge branch 'trunk' into issue/6523-rename-protocol-and-instance
2 parents 11050d6 + a8aef64 commit 78330e7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

WooCommerce/Classes/ViewRelated/Orders/Refund/RefundSubmissionUseCase.swift

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,14 @@ final class RefundSubmissionUseCase: NSObject, RefundSubmissionProtocol {
6464
private lazy var cardPresentRefundOrchestrator = CardPresentRefundOrchestrator(stores: stores)
6565

6666
/// Controller to connect a card reader for in-person refund.
67-
private lazy var cardReaderConnectionController = CardReaderConnectionController(forSiteID: siteID,
68-
knownReaderProvider: CardReaderSettingsKnownReaderStorage(),
69-
alertsProvider: CardReaderSettingsAlerts(),
70-
configuration: cardPresentConfigurationLoader.configuration)
67+
private lazy var cardReaderConnectionController =
68+
CardReaderConnectionController(forSiteID: siteID,
69+
knownReaderProvider: CardReaderSettingsKnownReaderStorage(),
70+
alertsProvider: CardReaderSettingsAlerts(),
71+
configuration: cardPresentConfigurationLoader.configuration,
72+
analyticsTracker: .init(configuration: cardPresentConfigurationLoader.configuration,
73+
stores: stores,
74+
analytics: analytics))
7175

7276
/// IPP Configuration loader.
7377
private lazy var cardPresentConfigurationLoader = CardPresentConfigurationLoader(stores: stores)

0 commit comments

Comments
 (0)