summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2025-04-10 15:37:11 +0200
committernoname <[email protected]>2025-04-25 01:19:20 +1000
commit157794c0faefa7658131952ced8bd354ca94d71f (patch)
treeb09a21557d5a097be1ffe907cde140440feb4a14
parent607e32634d30bdab2f61d4a0bc69db98d0254a01 (diff)
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
-rw-r--r--lib/apps/apps.vala2
1 files changed, 1 insertions, 1 deletions
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.