Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaTardio committed Apr 26, 2024
1 parent e230208 commit 52491bf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion DuckDuckGo/Preferences/Model/SyncPreferences.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ final class SyncPreferences: ObservableObject, SyncUI.ManagementViewModel {
return syncPreferencesErrorHandler.syncCredentialsPausedMetadata.syncPausedAction
}


struct Consts {
static let syncPausedStateChanged = Notification.Name("com.duckduckgo.app.SyncPausedStateChanged")
}
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/Preferences/View/PreferencesSyncView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct SyncView: View {
let syncPreferences = SyncPreferences(
syncService: syncService,
syncBookmarksAdapter: syncDataProviders.bookmarksAdapter,
syncCredentialsAdapter: syncDataProviders.credentialsAdapter,
syncCredentialsAdapter: syncDataProviders.credentialsAdapter,
syncPreferencesErrorHandler: syncDataProviders.syncErrorHandler
)
SyncUI.ManagementView(model: syncPreferences)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public protocol ManagementViewModel: ObservableObject {
var syncCredentialsPausedButtonTitle: String { get }
var syncCredentialsPausedButtonAction: (() -> Void)? { get }


var invalidBookmarksTitles: [String] { get }
var invalidCredentialsTitles: [String] { get }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// MockPersistor.swift
// MockAppearancePreferencesPersistor.swift
//
// Copyright © 2024 DuckDuckGo. All rights reserved.
//
Expand Down

0 comments on commit 52491bf

Please sign in to comment.