Refresh titlebar on project notifications
This commit is contained in:
parent
2c2076bd77
commit
f9e4464658
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ impl CollabTitlebarItem {
|
||||||
let active_call = ActiveCall::global(cx);
|
let active_call = ActiveCall::global(cx);
|
||||||
let mut subscriptions = Vec::new();
|
let mut subscriptions = Vec::new();
|
||||||
subscriptions.push(cx.observe(workspace_handle, |_, _, cx| cx.notify()));
|
subscriptions.push(cx.observe(workspace_handle, |_, _, cx| cx.notify()));
|
||||||
|
subscriptions.push(cx.observe(&project, |_, _, cx| cx.notify()));
|
||||||
subscriptions.push(cx.observe(&active_call, |this, _, cx| this.active_call_changed(cx)));
|
subscriptions.push(cx.observe(&active_call, |this, _, cx| this.active_call_changed(cx)));
|
||||||
subscriptions.push(cx.observe_window_activation(|this, active, cx| {
|
subscriptions.push(cx.observe_window_activation(|this, active, cx| {
|
||||||
this.window_activation_changed(active, cx)
|
this.window_activation_changed(active, cx)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue