update tabbar
This commit is contained in:
@@ -721,12 +721,13 @@ impl Panel for CommunityPanel {
|
||||
};
|
||||
|
||||
h_flex()
|
||||
.gap_1p5()
|
||||
.gap_1()
|
||||
.text_xs()
|
||||
.child(avatar)
|
||||
.child(SharedString::from(community.name()))
|
||||
.child(community.name())
|
||||
.into_any_element()
|
||||
})
|
||||
.unwrap_or_else(|_| div().child("Unknown").into_any_element())
|
||||
.unwrap_or_else(|_| div().text_xs().child("Unknown").into_any_element())
|
||||
}
|
||||
|
||||
fn toolbar_buttons(&self, _window: &Window, _cx: &App) -> Vec<Button> {
|
||||
|
||||
Reference in New Issue
Block a user