fix search order
This commit is contained in:
parent
a3a7c69679
commit
9208104ff7
1 changed files with 2 additions and 2 deletions
4
text.go
4
text.go
|
@ -99,11 +99,11 @@ func shouldReplace(existingSource, newSource string) bool {
|
|||
func sourceOrder(source string) int {
|
||||
switch source {
|
||||
case "Qwant":
|
||||
return 1
|
||||
return 3
|
||||
case "DuckDuckGo":
|
||||
return 2
|
||||
case "Google":
|
||||
return 3
|
||||
return 1
|
||||
default:
|
||||
return 4
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue