Remove screen sharing indicator when call ends
Previously, we would only remove it when the screen sharing stopped.
This commit is contained in:
parent
194c7a3af0
commit
7df798ded5
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ pub fn init(cx: &mut MutableAppContext) {
|
||||||
} else if let Some((window_id, _)) = status_indicator.take() {
|
} else if let Some((window_id, _)) = status_indicator.take() {
|
||||||
cx.remove_status_bar_item(window_id);
|
cx.remove_status_bar_item(window_id);
|
||||||
}
|
}
|
||||||
|
} else if let Some((window_id, _)) = status_indicator.take() {
|
||||||
|
cx.remove_status_bar_item(window_id);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.detach();
|
.detach();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue