From 8492b52bcf3b04f247365a05f8095d7501216101 Mon Sep 17 00:00:00 2001 From: 0nko Date: Wed, 15 Jan 2025 17:59:29 +0100 Subject: [PATCH] Update the feature flag definition based on the privacy configuration change --- .../{TabMultiSelectionFeature.kt => TabFeatureFlags.kt} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename app/src/main/java/com/duckduckgo/app/tabs/{TabMultiSelectionFeature.kt => TabFeatureFlags.kt} (84%) diff --git a/app/src/main/java/com/duckduckgo/app/tabs/TabMultiSelectionFeature.kt b/app/src/main/java/com/duckduckgo/app/tabs/TabFeatureFlags.kt similarity index 84% rename from app/src/main/java/com/duckduckgo/app/tabs/TabMultiSelectionFeature.kt rename to app/src/main/java/com/duckduckgo/app/tabs/TabFeatureFlags.kt index d733e6a9dd0c..8ba8ee727b9e 100644 --- a/app/src/main/java/com/duckduckgo/app/tabs/TabMultiSelectionFeature.kt +++ b/app/src/main/java/com/duckduckgo/app/tabs/TabFeatureFlags.kt @@ -22,9 +22,13 @@ import com.duckduckgo.feature.toggles.api.Toggle @ContributesRemoteFeature( scope = AppScope::class, - featureName = "tabMultiSelection", + featureName = "tabManager", ) -interface TabMultiSelectionFeature { +interface TabManagerFeatureFlags { @Toggle.DefaultValue(false) + @Toggle.InternalAlwaysEnabled fun self(): Toggle + + @Toggle.DefaultValue(false) + fun multiSelection(): Toggle }