update tabbar

This commit is contained in:
2026-09-24 13:54:04 +07:00
parent 610bf816b0
commit 2a50804583
12 changed files with 80 additions and 242 deletions
+3 -2
View File
@@ -1983,12 +1983,13 @@ impl Panel for ChatPanel {
let seed = this.display_image_seed(cx);
h_flex()
.gap_1p5()
.gap_1()
.text_xs()
.child(Avatar::new(picture).seed(seed).xsmall())
.child(label)
.into_any_element()
})
.unwrap_or(div().child("Unknown").into_any_element())
.unwrap_or(div().text_xs().child("Unknown").into_any_element())
}
fn toolbar_buttons(&self, _window: &Window, _cx: &App) -> Vec<Button> {