From e2c1a4c68675e48b926cd4dce4bf3ea312281630 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 4 Oct 2022 22:24:06 +0200 Subject: [PATCH] Fix Oeck eligibility regression --- CHANGELOG.md | 4 ++++ Passepartout/App/InApp/ProductManager.swift | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 454c64b7..f08de7f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Retain whitespaces in imported file names. +### Fixed + +- Oeck provider is available again to free users. + ## 2.0.0 (2022-10-02) ### Added diff --git a/Passepartout/App/InApp/ProductManager.swift b/Passepartout/App/InApp/ProductManager.swift index 6fe12ad3..af4aab22 100644 --- a/Passepartout/App/InApp/ProductManager.swift +++ b/Passepartout/App/InApp/ProductManager.swift @@ -199,7 +199,10 @@ class ProductManager: NSObject, ObservableObject { } func isEligible(forProvider providerName: ProviderName) -> Bool { - isEligible(forFeature: providerName.product) + guard providerName != .oeck else { + return true + } + return isEligible(forFeature: providerName.product) } func isEligibleForFeedback() -> Bool {