fix search order

This commit is contained in:
partisan 2024-05-18 13:23:39 +02:00
parent b2972646b7
commit e78667ab85

View file

@ -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
} }