Skip to content

Commit

Permalink
set background color of status bg
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Oct 6, 2023
1 parent 70e33b6 commit 6ad29af
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DuckDuckGo/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1287,8 +1287,8 @@ extension MainViewController: OmniBarDelegate {

let entries = tab.buildBrowsingMenu(with: menuBookmarksViewModel)
let controller = BrowsingMenuViewController.instantiate(headerEntries: tab.buildBrowsingMenuHeaderContent(),
menuEntries: entries) {
[weak self] in self?.searchBarRect ?? .zero
menuEntries: entries) { [weak self] in
self?.searchBarRect ?? .zero
}

controller.modalPresentationStyle = .custom
Expand Down Expand Up @@ -1953,6 +1953,10 @@ extension MainViewController: Themable {
findInPageView.decorate(with: theme)

viewCoordinator.logoText.tintColor = theme.ddgTextTintColor

if appSettings.currentAddressBarPosition == .bottom {
viewCoordinator.statusBackground.backgroundColor = theme.backgroundColor
}
}

}
Expand Down

0 comments on commit 6ad29af

Please sign in to comment.