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

Ref #8417: Disable tint adjustment on secure state buttons #8468

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ class CollapsedURLBarView: UIView {
$0.alignment = .firstBaseline
}

private let secureContentStateView = UIButton()
private let secureContentStateView = UIButton().then {
$0.tintAdjustmentMode = .normal
}

private let separatorLine = UILabel().then {
$0.isUserInteractionEnabled = false
$0.isAccessibilityElement = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class TabLocationView: UIView {
button.configurationUpdateHandler = { [unowned self] btn in
btn.configuration = secureContentStateButtonConfiguration
}
button.tintAdjustmentMode = .normal
secureContentStateButton = button
leadingView = button
}
Expand Down