Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

[IP-201] Turn off all protection features (anti-tracking, ad blocking…

…, anti-phishing) in free version
  • Loading branch information
mahmoud-adam85 authored and naira-cliqz committed Apr 8, 2019
1 parent 80ac563 commit ae4b04cc29628154250f4a0840c72c6104c1911e
@@ -44,6 +44,7 @@ class PaidControlCenterViewController: ControlCenterViewController {
name: .NEVPNStatusDidChange,
object: nil)

SubscriptionController.shared.updateUltimateProtectionStatus()
dashboard.dataSource = cellDataSource

self.addChildViewController(dashboard)
@@ -60,7 +60,7 @@ public class SubscriptionController {
UserDefaults.standard.set(productIdentifier, forKey: purchasedProductIdentifierKey)
}

private func updateUltimateProtectionStatus() {
func updateUltimateProtectionStatus() {
#if PAID
switch getCurrentSubscription() {
case .limited:

0 comments on commit ae4b04c

Please sign in to comment.