Skip to content

Commit

Permalink
Resolve nit.
Browse files Browse the repository at this point in the history
  • Loading branch information
not-a-rootkit committed Sep 5, 2024
1 parent 4c8aed3 commit 8fa653e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,8 @@ final class AddressBarButtonsViewController: NSViewController {
let isNotSecure = url.scheme == URL.NavigationalScheme.http.rawValue
let isCertificateValid = tabViewModel.tab.isCertificateValid ?? true
let isFlaggedPhishing = tabViewModel.tab.privacyInfo?.isPhishing ?? false
let isUnprotected = ContentBlocking.shared.privacyConfigurationManager.privacyConfig.isUserUnprotected(domain: host)
let configuration = ContentBlocking.shared.privacyConfigurationManager.privacyConfig
let isUnprotected = configuration.isUserUnprotected(domain: host)

let isShieldDotVisible = isNotSecure || isUnprotected || !isCertificateValid

Expand Down

0 comments on commit 8fa653e

Please sign in to comment.