Skip to content

Commit

Permalink
Ensure the subscriptionCookieManager code is run on main
Browse files Browse the repository at this point in the history
  • Loading branch information
miasma13 committed Nov 23, 2024
1 parent f635dcd commit 913292b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ import os.log

let isEnabled = privacyConfigurationManager.privacyConfig.isSubfeatureEnabled(PrivacyProSubfeature.setAccessTokenCookieForSubscriptionDomains)

Task { [weak self] in
Task { @MainActor [weak self] in
if isEnabled {
self?.subscriptionCookieManager.enableSettingSubscriptionCookie()
} else {
Expand Down

0 comments on commit 913292b

Please sign in to comment.