From 949e82ae051bbbaa1f4f2dce4910108457baa98f Mon Sep 17 00:00:00 2001 From: Chris Brind Date: Thu, 28 Mar 2024 16:05:42 +0000 Subject: [PATCH] remove internal user only flag --- Core/FeatureFlag.swift | 3 +-- DuckDuckGo/MainViewController.swift | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/FeatureFlag.swift b/Core/FeatureFlag.swift index f14ae54cbf..579eda936d 100644 --- a/Core/FeatureFlag.swift +++ b/Core/FeatureFlag.swift @@ -34,7 +34,6 @@ public enum FeatureFlag: String { case networkProtection case networkProtectionWaitlistAccess case networkProtectionWaitlistActive - case swipeTabs case autoconsentOnByDefault case history } @@ -42,7 +41,7 @@ public enum FeatureFlag: String { 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)) diff --git a/DuckDuckGo/MainViewController.swift b/DuckDuckGo/MainViewController.swift index 81fcdc0bda..4b4ae53064 100644 --- a/DuckDuckGo/MainViewController.swift +++ b/DuckDuckGo/MainViewController.swift @@ -1162,7 +1162,7 @@ class MainViewController: UIViewController { viewCoordinator.toolbar.isHidden = false viewCoordinator.omniBar.enterPhoneState() - swipeTabsCoordinator?.isEnabled = featureFlagger.isFeatureOn(.swipeTabs) + swipeTabsCoordinator?.isEnabled = true } @discardableResult