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 collap…
Browse files Browse the repository at this point in the history
…sed (#8697)
  • Loading branch information
kylehickinson committed Jan 25, 2024
1 parent 6a8cc08 commit ec5b207
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 ec5b207

Please sign in to comment.