Skip to content

Commit

Permalink
Add AI Chat feature flag (#1031)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1204167627774280/1208539744359975/f
iOS PR: duckduckgo/iOS#3468
macOS PR: duckduckgo/macos-browser#3439
What kind of version bump will this require?: Minor

**Description**:
Add feature flag for AI Chat settings
  • Loading branch information
Bunn authored Oct 22, 2024
1 parent 339b974 commit 65cfb8b
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public enum PrivacyFeature: String {
case marketplaceAdPostback
case autocompleteTabs
case networkProtection
case aiChat
}

/// An abstraction to be implemented by any "subfeature" of a given `PrivacyConfiguration` feature.
Expand Down Expand Up @@ -97,6 +98,18 @@ public enum DBPSubfeature: String, Equatable, PrivacySubfeature {
case freemium
}

public enum AIChatSubfeature: String, Equatable, PrivacySubfeature {
public var parent: PrivacyFeature {
.aiChat
}

/// Displays the settings item for showing a shortcut in the Application Menu
case applicationMenuShortcut

/// Displays the settings item for showing a shortcut in the Toolbar
case toolbarShortcut
}

public enum NetworkProtectionSubfeature: String, Equatable, PrivacySubfeature {
public var parent: PrivacyFeature {
.networkProtection
Expand Down

0 comments on commit 65cfb8b

Please sign in to comment.