refactor avatar component

This commit is contained in:
2026-09-29 13:18:20 +07:00
parent 8073c97c5a
commit 4d116036b9
8 changed files with 100 additions and 207 deletions
+2 -2
View File
@@ -113,8 +113,8 @@ impl Person {
}
/// A stable seed for this profile's generated avatar
pub fn avatar_seed(&self) -> SharedString {
SharedString::from(self.public_key().to_hex())
pub fn avatar_seed(&self) -> String {
self.public_key().to_hex()
}
/// Get profile name