✨ copy the actual emoji instead of its code
This commit is contained in:
parent
2e409d847f
commit
67b64c67ee
|
@ -56,7 +56,7 @@ def handleQuery(query):
|
|||
matches = sorted(matches, key=lambda data: data["matchCount"], reverse=True)
|
||||
|
||||
if query.isValid:
|
||||
return [Item(id=match["name"], completion=match["name"], icon=match["emoji"], text=match["emoji"] + " " + match["code"], subtext=match["description"], actions=[ClipAction("Copy to clipboard", match["code"])]) for match in matches]
|
||||
return [Item(id=match["name"], completion=match["name"], icon=match["emoji"], text=match["emoji"] + " " + match["code"], subtext=match["description"], actions=[ClipAction("Copy to clipboard", match["emoji"])]) for match in matches]
|
||||
else:
|
||||
return []
|
||||
|
||||
|
|
Loading…
Reference in New Issue