Skip to content

Commit

Permalink
remove internal user only flag
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Mar 28, 2024
1 parent 8d444a1 commit 949e82a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Core/FeatureFlag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ public enum FeatureFlag: String {
case networkProtection
case networkProtectionWaitlistAccess
case networkProtectionWaitlistActive
case swipeTabs
case autoconsentOnByDefault
case history
}

extension FeatureFlag: FeatureFlagSourceProviding {
public var source: FeatureFlagSource {
switch self {
case .debugMenu, .appTrackingProtection, .swipeTabs:
case .debugMenu, .appTrackingProtection:
return .internalOnly
case .sync:
return .remoteReleasable(.subfeature(SyncSubfeature.level0ShowSync))
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ class MainViewController: UIViewController {
viewCoordinator.toolbar.isHidden = false
viewCoordinator.omniBar.enterPhoneState()

swipeTabsCoordinator?.isEnabled = featureFlagger.isFeatureOn(.swipeTabs)
swipeTabsCoordinator?.isEnabled = true
}

@discardableResult
Expand Down

0 comments on commit 949e82a

Please sign in to comment.