From 700238518cebac3c7d905e4e5e8c97e765d181b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20=C5=9Apiewak?= Date: Fri, 15 Mar 2024 13:25:53 +0100 Subject: [PATCH] Revert "Remove Autoconsent subfeature (#697)" (#730) This reverts commit 2181cdcd27be961f10d988fbb202431a6ec6d56d. --- .../PrivacyConfig/Features/PrivacyFeature.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift b/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift index c58ebf4e2..15a5e4332 100644 --- a/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift +++ b/Sources/BrowserServicesKit/PrivacyConfig/Features/PrivacyFeature.swift @@ -104,3 +104,11 @@ public enum PrivacyDashboardSubfeature: String, PrivacySubfeature { case toggleReports } + +public enum AutoconsentSubfeature: String, PrivacySubfeature { + public var parent: PrivacyFeature { + .autoconsent + } + + case onByDefault +}