Commit a8afcfb6 by Demid Merzlyakov

IOS-155: fix feature availability.

parent a1b05561
...@@ -232,7 +232,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -232,7 +232,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
case .shorts: case .shorts:
availabilityCheckers[feature] = usOnly && isPhone availabilityCheckers[feature] = usOnly && isPhone
case .airQualityIndex: case .airQualityIndex:
availabilityCheckers[feature] = premium availabilityCheckers[feature] = activeProSubscription
case .attPrompt: case .attPrompt:
break // config only break // config only
case .nwsAlertsViaMoEngage: case .nwsAlertsViaMoEngage:
...@@ -246,9 +246,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -246,9 +246,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
case .subscriptionForPro: case .subscriptionForPro:
availabilityCheckers[feature] = premium availabilityCheckers[feature] = premium
case .extendedDailyForecast: case .extendedDailyForecast:
availabilityCheckers[feature] = premium availabilityCheckers[feature] = activeProSubscription
case .extendedHourlyForecast: case .extendedHourlyForecast:
availabilityCheckers[feature] = premium availabilityCheckers[feature] = activeProSubscription
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment