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

Commit

Permalink
Fix issue where entering overlay mode was hiding tabs/menu incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Jul 15, 2022
1 parent 9d1551f commit c49e9ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Client/Frontend/Browser/Toolbars/UrlBar/TopToolbarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ class TopToolbarView: UIView, ToolbarProtocol {
private let trailingItemsStackView = UIStackView().then {
$0.distribution = .fillEqually
$0.alignment = .center
$0.setContentCompressionResistancePriority(.required, for: .vertical)
$0.spacing = 8
}

Expand Down Expand Up @@ -590,7 +589,7 @@ class TopToolbarView: UIView, ToolbarProtocol {
}

if inOverlayMode {
[progressBar, leadingItemsStackView, bookmarkButton, menuButton, tabsButton, locationView.contentView].forEach {
[progressBar, leadingItemsStackView, bookmarkButton, trailingItemsStackView, locationView.contentView].forEach {
$0?.isHidden = true
}

Expand Down

0 comments on commit c49e9ca

Please sign in to comment.