chore: update gpui and nostr-sdk

This commit is contained in:
reya
2025-06-30 08:35:48 +07:00
parent b212095334
commit abb1474300
22 changed files with 196 additions and 120 deletions
+3 -3
View File
@@ -102,11 +102,11 @@ impl RenderOnce for EmojiPicker {
input.update(cx, |this, cx| {
let current = this.value();
let new_text = if current.is_empty() {
format!("{}", item)
format!("{item}")
} else if current.ends_with(" ") {
format!("{}{}", current, item)
format!("{current}{item}")
} else {
format!("{} {}", current, item)
format!("{current} {item}")
};
this.set_value(new_text, window, cx);
});