Skip to content

Commit 15f673c

Browse files
authored
Merge pull request #8194 from woocommerce/issue/8080-duplicate-connection-controller-for-refactor
[Mobile Payments] Duplicate CardReaderConnectionController before refactor
2 parents 2d263b3 + e0eab12 commit 15f673c

File tree

7 files changed

+842
-40
lines changed

7 files changed

+842
-40
lines changed

WooCommerce/Classes/ViewRelated/CardPresentPayments/CardPresentPaymentPreflightController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class CardPresentPaymentPreflightController {
3838

3939
/// Controller to connect a card reader.
4040
///
41-
private var connectionController: CardReaderConnectionController
41+
private var connectionController: LegacyCardReaderConnectionController
4242

4343

4444
private(set) var readerConnection = CurrentValueSubject<CardReaderConnectionResult?, Never>(nil)
@@ -59,8 +59,8 @@ final class CardPresentPaymentPreflightController {
5959
let analyticsTracker = CardReaderConnectionAnalyticsTracker(configuration: configuration,
6060
stores: stores,
6161
analytics: analytics)
62-
// TODO: Replace this with a refactored (New)CardReaderConnectionController
63-
self.connectionController = CardReaderConnectionController(
62+
// TODO: Replace this with a refactored (New)LegacyCardReaderConnectionController
63+
self.connectionController = LegacyCardReaderConnectionController(
6464
forSiteID: siteID,
6565
knownReaderProvider: CardReaderSettingsKnownReaderStorage(),
6666
alertsProvider: CardReaderSettingsAlerts(),

0 commit comments

Comments
 (0)