Skip to content

Commit 8c44801

Browse files
authored
Bugfix NO-TICKET Unblock v143.1 build compile error (#29510)
Fix bad merge (?) and add liquid glass check for iOS 26 Betas 1-3 to prevent a crash
1 parent 82b8b42 commit 8c44801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firefox-ios/Client/Frontend/Browser/Tabs/Views/CustomSelectorView/TabTraySelectorView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ class TabTraySelectorView: UIView,
5858

5959
private lazy var visualEffectView: UIVisualEffectView = .build { view in
6060
#if canImport(FoundationModels)
61-
if #available(iOS 26, *) {
61+
if #available(iOS 26, *), !DefaultBrowserUtil.isRunningLiquidGlassEarlyBeta {
6262
view.effect = UIGlassEffect(style: .regular)
6363
} else {
64-
return UIBlurEffect(style: .systemUltraThinMaterial)
64+
view.effect = UIBlurEffect(style: .systemUltraThinMaterial)
6565
}
6666
#else
6767
view.effect = UIBlurEffect(style: .systemUltraThinMaterial)

0 commit comments

Comments
 (0)