From c2e37619a65cdeb19a64468d2004b46547027306 Mon Sep 17 00:00:00 2001 From: Chris Beiser Date: Mon, 24 Aug 2026 15:08:04 -0700 Subject: [PATCH] Remove Focus URL bar separator --- CUSTOMIZATIONS.md | 5 +++-- focus-ios/Blockzilla/UIComponents/URLBar/URLBar.swift | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CUSTOMIZATIONS.md b/CUSTOMIZATIONS.md index c0f02a8ab95a5..861af88c33931 100644 --- a/CUSTOMIZATIONS.md +++ b/CUSTOMIZATIONS.md @@ -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`. diff --git a/focus-ios/Blockzilla/UIComponents/URLBar/URLBar.swift b/focus-ios/Blockzilla/UIComponents/URLBar/URLBar.swift index e78ca29be09ff..bdbcc91114017 100644 --- a/focus-ios/Blockzilla/UIComponents/URLBar/URLBar.swift +++ b/focus-ios/Blockzilla/UIComponents/URLBar/URLBar.swift @@ -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