Fix conditions for trusted networks and feedback

Wrong on macOS.
This commit is contained in:
Davide De Rosa 2021-02-05 16:50:46 +01:00
parent 3a5bbf4742
commit 1180590f40
1 changed files with 0 additions and 8 deletions

View File

@ -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 {