Start work on subscribing to model from ChatPanel
This commit is contained in:
parent
6df80d94ad
commit
baded7d416
4 changed files with 29 additions and 28 deletions
|
@ -374,14 +374,8 @@ impl Workspace {
|
|||
let mut right_sidebar = Sidebar::new(Side::Right);
|
||||
right_sidebar.add_item(
|
||||
"icons/comment-16.svg",
|
||||
cx.add_view(|cx| {
|
||||
ChatPanel::new(
|
||||
app_state.channel_list.clone(),
|
||||
app_state.settings.clone(),
|
||||
cx,
|
||||
)
|
||||
})
|
||||
.into(),
|
||||
cx.add_view(|cx| ChatPanel::new(app_state.channel_list.clone(), cx))
|
||||
.into(),
|
||||
);
|
||||
right_sidebar.add_item("icons/user-16.svg", cx.add_view(|_| ProjectBrowser).into());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue