Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Ref #8664: Hide 'Not Secure' mixed content warning when url is collapsed
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Jan 24, 2024
1 parent 0ddc8c2 commit a3ebd82
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ class CollapsedURLBarView: UIView {
var title = AttributedString(Strings.tabToolbarNotSecureTitle)
title.font = .preferredFont(forTextStyle: .caption1, compatibleWith: clampedTraitCollection)

let isTitleVisible = !traitCollection.preferredContentSizeCategory.isAccessibilityCategory
let isTitleVisible = !traitCollection.preferredContentSizeCategory.isAccessibilityCategory &&
secureContentState != .mixedContent

switch secureContentState {
case .localhost, .secure:
Expand Down

0 comments on commit a3ebd82

Please sign in to comment.