Skip to content
Open
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
5 changes: 3 additions & 2 deletions CUSTOMIZATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ case "twitter.com", "www.twitter.com", "mobile.twitter.com",

- Make `urlBarBorderView.backgroundColor` clear and keep URL bar state border
colors clear.
- Replace the URL bar background with `UIGlassEffect` inside a
`UIVisualEffectView` on iOS 26 and newer.
- Replace the URL bar background with a clear-style `UIGlassEffect` inside a
`UIVisualEffectView` on iOS 26 and newer so it does not render a blurred edge
above the URL.
- On older iOS versions, keep the URL bar background clear.
- When the background is a `UIVisualEffectView`, add `textAndLockContainer` to
the effect view's `contentView`.
Expand Down
2 changes: 1 addition & 1 deletion focus-ios/Blockzilla/UIComponents/URLBar/URLBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ final class URLBar: UIView { // swiftlint:disable:this type_body_length

private lazy var urlBarBackgroundView: UIView = {
if #available(iOS 26, *) {
let glassEffect = UIGlassEffect()
let glassEffect = UIGlassEffect(style: .clear)
let effectView = UIVisualEffectView(effect: glassEffect)
effectView.layer.cornerRadius = UIConstants.layout.urlBarCornerRadius
effectView.clipsToBounds = true
Expand Down
Loading