summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-18 00:39:22 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-19 20:15:21 +0800
commit13f16c4aaa53aae232b61e6ba52e2851f8e685c7 (patch)
tree516010c5d48d25c4071228d5d9566fb907d82603 /services
parentd654e200a2edfd7c63a48b119ac332a4944e8278 (diff)
perf(Emoji): remove unused var
Diffstat (limited to 'services')
-rw-r--r--services/Emoji.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/Emoji.qml b/services/Emoji.qml
index 6f6b8d9..108fbd9 100644
--- a/services/Emoji.qml
+++ b/services/Emoji.qml
@@ -15,7 +15,7 @@ Searchable {
}
list: _emojis
- key: "searchText"
+ keys: ["name", "keywords", "category", "subcategory", "emoji"]
algorithm: Searchable.SearchAlgorithm.Include
function transformSearch(search) {
@@ -42,8 +42,7 @@ Searchable {
category: category,
subcategory: subcategory,
name: name,
- keywords: keywords,
- searchText: (name + " " + keywords).toLowerCase()
+ keywords: keywords
});
}
_emojis = out;