summaryrefslogtreecommitdiff
path: root/lib/apps/apps.vala
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-10-16 12:49:30 +0200
committerGitHub <[email protected]>2024-10-16 12:49:30 +0200
commit6e15da7e4329cb0c4361c11cbbf5fbe2b84801bb (patch)
tree5cd27e5162a84f2ee5310fc698d7b50ee08eddf0 /lib/apps/apps.vala
parent8368b20eda96674e0f5a502b92d3afb936b71b0b (diff)
parentc012b5699afd401942e1044c204fb6a666d0a094 (diff)
Merge pull request #47 from Aylur/fix/fuzzy-search
apps: fix fuzzy search
Diffstat (limited to 'lib/apps/apps.vala')
-rw-r--r--lib/apps/apps.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/apps/apps.vala b/lib/apps/apps.vala
index c96a2b2..bbe07c6 100644
--- a/lib/apps/apps.vala
+++ b/lib/apps/apps.vala
@@ -17,7 +17,7 @@ public class AstalApps.Apps : Object {
/**
* The minimum score the application has to meet in order to be included in queries.
*/
- public int min_score { get; set; default = 0; }
+ public double min_score { get; set; default = 0; }
/**
* Extra multiplier to apply when matching the `name` of an application.
@@ -108,7 +108,6 @@ public class AstalApps.Apps : Object {
r += am.executable * executable_multiplier;
if (include_description)
r += am.description * description_multiplier;
-
return r;
}