Skip to content

Commit

Permalink
Fix inconsistent bars state when scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 committed Apr 12, 2024
1 parent 33d7208 commit bcdc60e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DuckDuckGo/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1562,12 +1562,12 @@ extension MainViewController: BrowserChromeDelegate {
let updateBlock = {
self.updateToolbarConstant(percent)
self.updateNavBarConstant(percent)

self.view.layoutIfNeeded()


self.viewCoordinator.navigationBarContainer.alpha = percent
self.viewCoordinator.tabBarContainer.alpha = percent
self.viewCoordinator.toolbar.alpha = percent

self.view.layoutIfNeeded()
}

if animated {
Expand Down

0 comments on commit bcdc60e

Please sign in to comment.