From 157794c0faefa7658131952ced8bd354ca94d71f Mon Sep 17 00:00:00 2001 From: kotontrion Date: Thu, 10 Apr 2025 15:37:11 +0200 Subject: fix(AstalApps): increase min score threshold to 0.5 The default minimum score for application queries has been increased from 0 to 0.5 to correctly filter out mismatches when using the exact query algorithm fixes #339 --- lib/apps/apps.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/apps/apps.vala b/lib/apps/apps.vala index 999643c..583e8f2 100644 --- a/lib/apps/apps.vala +++ b/lib/apps/apps.vala @@ -22,7 +22,7 @@ public class AstalApps.Apps : Object { /** * The minimum score the application has to meet in order to be included in queries. */ - public double min_score { get; set; default = 0; } + public double min_score { get; set; default = 0.5; } /** * Extra multiplier to apply when matching the `name` of an application. -- cgit v1.2.3