Fix Oeck eligibility regression

This commit is contained in:
Davide De Rosa 2022-10-04 22:24:06 +02:00
parent 8fed92c52e
commit e2c1a4c686
2 changed files with 8 additions and 1 deletions

View File

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

View File

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