diff --git a/DuckDuckGo/NavigationBar/View/MoreOptionsMenu.swift b/DuckDuckGo/NavigationBar/View/MoreOptionsMenu.swift index bfdc4978f3..8a9da7f16f 100644 --- a/DuckDuckGo/NavigationBar/View/MoreOptionsMenu.swift +++ b/DuckDuckGo/NavigationBar/View/MoreOptionsMenu.swift @@ -328,12 +328,26 @@ final class MoreOptionsMenu: NSMenu { #endif // NETWORK_PROTECTION #if DBP - let dataBrokerProtectionItem = NSMenuItem(title: UserText.dataBrokerProtectionOptionsMenuItem, - action: #selector(openDataBrokerProtection), - keyEquivalent: "") - .targetting(self) - .withImage(NSImage(named: "BurnerWindowIcon2")) // PLACEHOLDER: Change it once we have the final icon - items.append(dataBrokerProtectionItem) + var regionCode: String? + if #available(macOS 13, *) { + regionCode = Locale.current.region?.identifier + } else { + regionCode = Locale.current.regionCode + } + + #if DEBUG // Always assume US for debug builds + regionCode = "US" + #endif + + // Only show Private Information Removal (DBP) for US based users + if (regionCode ?? "US") == "US" { + let dataBrokerProtectionItem = NSMenuItem(title: UserText.dataBrokerProtectionOptionsMenuItem, + action: #selector(openDataBrokerProtection), + keyEquivalent: "") + .targetting(self) + .withImage(NSImage(named: "BurnerWindowIcon2")) // PLACEHOLDER: Change it once we have the final icon + items.append(dataBrokerProtectionItem) + } #endif // DBP #if SUBSCRIPTION