chore: improve clarity about public group

This commit is contained in:
2026-10-20 08:13:39 +07:00
parent 03f98f5fa8
commit f5afc772b2
6 changed files with 35 additions and 25 deletions
+17 -12
View File
@@ -84,18 +84,23 @@ impl Sidebar {
.ghost()
.small()
.dropdown_menu(|menu, _window, _cx| {
menu.menu_with_icon(
"New Group",
IconName::Group,
Box::new(Command::NewGroup),
)
.menu_with_icon("Join Group", IconName::Door, Box::new(Command::JoinGroup))
.separator()
.menu_with_icon(
"New Chat",
IconName::Message,
Box::new(Command::NewChat),
)
menu.label("Public Group")
.menu_with_icon(
"New Group",
IconName::Group,
Box::new(Command::NewGroup),
)
.menu_with_icon(
"Join Group",
IconName::Door,
Box::new(Command::JoinGroup),
)
.separator()
.menu_with_icon(
"New Chat",
IconName::Message,
Box::new(Command::NewChat),
)
}),
)
.when(self.group_open, |this| {