Skip to content

Commit cbfea01

Browse files
committed
Lint fixes
1 parent bbd8d73 commit cbfea01

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Modules/Sources/Storage/Model/GeneralStoreSettings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public struct GeneralStoreSettings: Codable, Equatable, GeneratedCopiable {
8585
/// Whether the POS tab is visible for this store.
8686
///
8787
public var isPOSTabVisible: Bool?
88-
88+
8989
/// Last time a POS catalog full sync was completed for this store.
9090
///
9191
public var posLastFullSyncDate: Date?

Modules/Tests/YosemiteTests/Tools/POS/POSCatalogSyncCoordinatorTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,3 @@ final class MockPOSCatalogFullSyncService: POSCatalogFullSyncServiceProtocol {
161161
return startFullSyncResult
162162
}
163163
}
164-

WooCommerce/Classes/ViewRelated/MainTabBarController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ private extension MainTabBarController {
768768

769769
// Configure POS catalog sync coordinator for local catalog syncing
770770
if ServiceLocator.featureFlagService.isFeatureFlagEnabled(.pointOfSaleLocalCatalogi1) {
771-
posCatalogSyncCoordinator = createPOSCatalogSyncCoordinator(siteID: siteID)
771+
posCatalogSyncCoordinator = createPOSCatalogSyncCoordinator()
772772
}
773773

774774
// Configure hub menu tab coordinator once per logged in session potentially with multiple sites.
@@ -792,7 +792,7 @@ private extension MainTabBarController {
792792
OrdersSplitViewWrapperController(siteID: siteID)
793793
}
794794

795-
func createPOSCatalogSyncCoordinator(siteID: Int64) -> POSCatalogSyncCoordinatorProtocol? {
795+
func createPOSCatalogSyncCoordinator() -> POSCatalogSyncCoordinatorProtocol? {
796796
guard let credentials = ServiceLocator.stores.sessionManager.defaultCredentials,
797797
let syncService = POSCatalogFullSyncService(credentials: credentials, grdbManager: ServiceLocator.grdbManager)
798798
else {

0 commit comments

Comments
 (0)