commit 41ba6f657d2bfd66a9b3b64934f7ac974787ca94
parent aaef51de476d0b37fb7502f7fc180c6189fa8ccf
Author: William Casarin <jb55@jb55.com>
Date: Thu, 6 Jul 2023 19:37:25 -0700
add default name placeholder
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/app.rs b/src/app.rs
@@ -331,6 +331,8 @@ fn render_username(ui: &mut egui::Ui, contacts: &Contacts, pk: &Pubkey) {
if let Some(display_name) = prof.display_name() {
ui.strong(display_name);
}
+ } else {
+ ui.strong("nostrich");
}
/*