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 {
|
func sourceOrder(source string) int {
|
||||||
switch source {
|
switch source {
|
||||||
case "Qwant":
|
case "Qwant":
|
||||||
return 1
|
return 3
|
||||||
case "DuckDuckGo":
|
case "DuckDuckGo":
|
||||||
return 2
|
return 2
|
||||||
case "Google":
|
case "Google":
|
||||||
return 3
|
return 1
|
||||||
default:
|
default:
|
||||||
return 4
|
return 4
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue