mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-06 09:54:20 +01:00
note: show non-displayname if we have it
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -483,6 +483,8 @@ fn render_username(ui: &mut egui::Ui, profile: Option<&ProfileRecord>, pk: &[u8;
|
||||
if let Some(prof) = profile.record.profile() {
|
||||
if let Some(display_name) = prof.display_name() {
|
||||
ui_abbreviate_name(ui, display_name, 20);
|
||||
} else if let Some(name) = prof.name() {
|
||||
ui_abbreviate_name(ui, name, 20);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user