Skip to content

Commit

Permalink
Fix inconsistent bars state when scrolling (#2733)
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 authored Apr 12, 2024
1 parent b97f329 commit 398bed3
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 398bed3

Please sign in to comment.