From 1180590f4061c491f1f38e9ab38a92f199b4bad5 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 5 Feb 2021 16:50:46 +0100 Subject: [PATCH] Fix conditions for trusted networks and feedback Wrong on macOS. --- Passepartout/Core/Sources/Model/ProductManager.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Passepartout/Core/Sources/Model/ProductManager.swift b/Passepartout/Core/Sources/Model/ProductManager.swift index 73cdeb68..7c794b9d 100644 --- a/Passepartout/Core/Sources/Model/ProductManager.swift +++ b/Passepartout/Core/Sources/Model/ProductManager.swift @@ -173,19 +173,11 @@ public class ProductManager: NSObject { } private func isEligibleForTrustedNetworks() -> Bool { - #if os(iOS) return isFullVersion() || purchasedFeatures.contains(.trustedNetworks) - #else - return isFullVersion() - #endif } public func isEligibleForFeedback() -> Bool { - #if os(iOS) return isBeta || !purchasedFeatures.isEmpty - #else - return isFullVersion() - #endif } public func verifyEligible(forFeature feature: Product) throws {