Skip to content

Commit

Permalink
hide cards to Big Sur users
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaTardio committed Mar 14, 2024
1 parent d67aac9 commit 9dec427
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DuckDuckGo/Preferences/Model/AppearancePreferences.swift
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,10 @@ final class AppearancePreferences: ObservableObject {
}

var isContinueSetUpAvailable: Bool {
let osVersion = ProcessInfo.processInfo.operatingSystemVersion

let privacyConfig = AppPrivacyFeatures.shared.contentBlocking.privacyConfigurationManager.privacyConfig
return privacyConfig.isEnabled(featureKey: .newTabContinueSetUp)
return privacyConfig.isEnabled(featureKey: .newTabContinueSetUp) && osVersion.majorVersion >= 12
}

func updateUserInterfaceStyle() {
Expand Down

0 comments on commit 9dec427

Please sign in to comment.