diff --git a/DuckDuckGo/AppDelegate.swift b/DuckDuckGo/AppDelegate.swift index cdb468e6bf..3ffe9776bd 100644 --- a/DuckDuckGo/AppDelegate.swift +++ b/DuckDuckGo/AppDelegate.swift @@ -524,8 +524,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { cachePolicy: .reloadIgnoringLocalCacheData) { if subscription.isActive { DailyPixel.fire(pixel: .privacyProSubscriptionActive) - } else { - accountManager.signOut() } } diff --git a/DuckDuckGo/SettingsViewModel.swift b/DuckDuckGo/SettingsViewModel.swift index 7d5e60818b..2f877dd1a9 100644 --- a/DuckDuckGo/SettingsViewModel.swift +++ b/DuckDuckGo/SettingsViewModel.swift @@ -403,7 +403,9 @@ extension SettingsViewModel { } } } else { - // Sign out in case subscription is no longer active + // Sign out in case subscription is no longer active, reset the state + state.subscription.hasActiveSubscription = false + state.subscription.isSubscriptionPendingActivation = false signOutUser() }