diff --git a/Sources/Brave/Frontend/Browser/BrowserViewController.swift b/Sources/Brave/Frontend/Browser/BrowserViewController.swift index ae67f3a8977..3dd5d8d53cf 100644 --- a/Sources/Brave/Frontend/Browser/BrowserViewController.swift +++ b/Sources/Brave/Frontend/Browser/BrowserViewController.swift @@ -2441,7 +2441,7 @@ public class BrowserViewController: UIViewController { topToolbar.locationContainer.alpha = 1 topToolbar.actionButtons.forEach { $0.alpha = topToolbar.locationContainer.alpha } header.collapsedBarContainerView.alpha = 1 - topToolbar.locationContainer.alpha - tabsBar.view.subviews.forEach { $0.alpha = topToolbar.locationContainer.alpha } + tabsBar.view.alpha = topToolbar.locationContainer.alpha toolbar?.actionButtons.forEach { $0.alpha = topToolbar.locationContainer.alpha } } animator.startAnimation() @@ -2464,7 +2464,7 @@ public class BrowserViewController: UIViewController { toolbarBottomConstraint?.update(offset: min(footerHeight, max(0, footerHeight * (1 - progress)))) } topToolbar.actionButtons.forEach { $0.alpha = topToolbar.locationContainer.alpha } - tabsBar.view.subviews.forEach { $0.alpha = topToolbar.locationContainer.alpha } + tabsBar.view.alpha = topToolbar.locationContainer.alpha header.collapsedBarContainerView.alpha = 1 - topToolbar.locationContainer.alpha toolbar?.actionButtons.forEach { $0.alpha = topToolbar.locationContainer.alpha } return @@ -2479,7 +2479,7 @@ public class BrowserViewController: UIViewController { topToolbar.locationContainer.alpha = 0 toolbarBottomConstraint?.update(offset: footerHeight) } - tabsBar.view.subviews.forEach { $0.alpha = topToolbar.locationContainer.alpha } + tabsBar.view.alpha = topToolbar.locationContainer.alpha topToolbar.actionButtons.forEach { $0.alpha = topToolbar.locationContainer.alpha } header.collapsedBarContainerView.alpha = 1 - topToolbar.locationContainer.alpha toolbar?.actionButtons.forEach { $0.alpha = topToolbar.locationContainer.alpha }