fix: remove duplicate emoji from emoji picker display
Moved emoji character to description instead of name to avoid showing it twice (once as icon, once in text). Now displays: - Name: "grinning face" - Description: "😀 smile happy" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -399,13 +399,9 @@ impl EmojiProvider {
|
||||
|
||||
self.items.push(LaunchItem {
|
||||
id: format!("emoji:{}", emoji),
|
||||
name: format!("{} {}", emoji, name),
|
||||
description: if keywords.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some(keywords.to_string())
|
||||
},
|
||||
icon: None, // Emoji is shown in name
|
||||
name: name.to_string(),
|
||||
description: Some(format!("{} {}", emoji, keywords)),
|
||||
icon: None,
|
||||
provider: ProviderType::Emoji,
|
||||
// Copy emoji to clipboard using wl-copy
|
||||
command: format!("printf '%s' '{}' | wl-copy", emoji),
|
||||
|
||||
Reference in New Issue
Block a user