Merge pull request #2310 from zed-industries/fix-sharing-status-indicator

Remove screen sharing indicator when call ends
This commit is contained in:
Antonio Scandurra
2023-03-22 09:40:23 +01:00
committed by GitHub
@@ -21,6 +21,8 @@ pub fn init(cx: &mut MutableAppContext) {
} else if let Some((window_id, _)) = status_indicator.take() {
cx.remove_status_bar_item(window_id);
}
} else if let Some((window_id, _)) = status_indicator.take() {
cx.remove_status_bar_item(window_id);
}
})
.detach();