Skip to content

Commit

Permalink
Fix incorrect omnibar behavior (#2634)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/414709148257752/1206910834230045/f
Description:
Fix incorrect omnibar behavior.
  • Loading branch information
jaceklyp authored Mar 25, 2024
1 parent 390bdcd commit c5550c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
{
"identity" : "trackerradarkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/TrackerRadarKit.git",
"location" : "https://github.com/duckduckgo/TrackerRadarKit",
"state" : {
"revision" : "a6b7ba151d9dc6684484f3785293875ec01cc1ff",
"version" : "1.2.2"
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/OmniBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ class OmniBar: UIView {
}

func refreshText(forUrl url: URL?, forceFullURL: Bool = false) {

guard !textField.isEditing else { return }
guard let url = url else {
textField.text = nil
return
Expand Down

0 comments on commit c5550c5

Please sign in to comment.