Skip to content

Commit

Permalink
fix animation glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Oct 11, 2023
1 parent eba4487 commit c1406e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DuckDuckGo/MainViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ class MainViewController: UIViewController {
self.viewCoordinator.superview.layoutIfNeeded()
}, completion: nil)

self.viewCoordinator.navigationBarContainer.layoutSubviews()
// Don't wait for the animation cycle to layout the omnibar's children
self.viewCoordinator.omniBar.layoutSubviews()
}

private func initTabButton() {
Expand Down

0 comments on commit c1406e9

Please sign in to comment.