Skip to content

Commit

Permalink
Blind attempt to fix Omnibar-related crash (#3514)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/414709148257752/1208653357224780/f

Description:
Attempt to fix Omnibar crash:

These changes were already reviewed and merged to main in
#3500
  • Loading branch information
afterxleep authored Nov 1, 2024
1 parent 4e2a7ce commit eda599e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo/OmniBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ class OmniBar: UIView {
searchStackContainer.setCustomSpacing(13, after: voiceSearchButton)
}

UIView.animate(withDuration: 0.0) {
self.layoutIfNeeded()
UIView.animate(withDuration: 0.0) { [weak self] in
self?.layoutIfNeeded()
}

}
Expand Down

0 comments on commit eda599e

Please sign in to comment.