Skip to content

Commit 917565a

Browse files
committed
Remove currencySettings injection from CouponListViewModel
1 parent 718bc90 commit 917565a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

WooCommerce/Classes/ViewRelated/Coupons/CouponListViewModel.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ final class CouponListViewModel {
6262
///
6363
private let storageManager: StorageManagerType
6464

65-
/// currencySettings: provides the currency configuration settings from the store
66-
private let currencySettings: CurrencySettings
67-
6865
/// Marks if the Coupon Creation feature is enabled or not
6966
let isCreationEnabled: Bool
7067

@@ -74,13 +71,11 @@ final class CouponListViewModel {
7471
syncingCoordinator: SyncingCoordinatorProtocol = SyncingCoordinator(),
7572
storesManager: StoresManager = ServiceLocator.stores,
7673
storageManager: StorageManagerType = ServiceLocator.storageManager,
77-
currencySettings: CurrencySettings = ServiceLocator.currencySettings,
7874
featureFlags: FeatureFlagService = ServiceLocator.featureFlagService) {
7975
self.siteID = siteID
8076
self.syncingCoordinator = syncingCoordinator
8177
self.storesManager = storesManager
8278
self.storageManager = storageManager
83-
self.currencySettings = currencySettings
8479
self.resultsController = Self.createResultsController(siteID: siteID,
8580
storageManager: storageManager)
8681

0 commit comments

Comments
 (0)