feat: Rich Text Rendering (#13)

* add text

* fix avatar is not show

* refactor chats

* improve rich text

* add benchmark for text

* update
This commit is contained in:
reya
2025-03-28 09:49:07 +07:00
committed by GitHub
parent 42d6328d82
commit cfc2300c0c
23 changed files with 1180 additions and 489 deletions

View File

@@ -33,7 +33,7 @@ impl NostrProfile {
)
.into()
})
.unwrap_or_else(|| "brand/avatar.jpg".into())
.unwrap_or_else(|| "brand/avatar.png".into())
}
fn extract_name(public_key: &PublicKey, metadata: &Metadata) -> SharedString {