From 76397dc609f94582fbc33086b4d8209bbc98e48d Mon Sep 17 00:00:00 2001 From: Alessandro Boron Date: Mon, 16 Dec 2024 16:28:48 +0100 Subject: [PATCH] Change file store directory to application support --- .../MaliciousSiteProtectionManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DuckDuckGo/MaliciousSiteProtection/MaliciousSiteProtectionManager.swift b/DuckDuckGo/MaliciousSiteProtection/MaliciousSiteProtectionManager.swift index 335fab5134..c4f5fea1bc 100644 --- a/DuckDuckGo/MaliciousSiteProtection/MaliciousSiteProtectionManager.swift +++ b/DuckDuckGo/MaliciousSiteProtection/MaliciousSiteProtectionManager.swift @@ -55,7 +55,7 @@ final class MaliciousSiteProtectionManager: MaliciousSiteDetecting { let dataManager = dataManager ?? MaliciousSiteProtection.DataManager( fileStore: MaliciousSiteProtection.FileStore( dataStoreURL: FileManager.default.urls( - for: .documentDirectory, + for: .applicationSupportDirectory, in: .userDomainMask ) .first!