mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-08 13:59:23 +03:00
Refresh titlebar on project notifications
This commit is contained in:
parent
2c2076bd77
commit
f9e4464658
@ -128,6 +128,7 @@ impl CollabTitlebarItem {
|
||||
let active_call = ActiveCall::global(cx);
|
||||
let mut subscriptions = Vec::new();
|
||||
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_window_activation(|this, active, cx| {
|
||||
this.window_activation_changed(active, cx)
|
||||
|
Loading…
Reference in New Issue
Block a user