Remove screen sharing indicator when call ends
Previously, we would only remove it when the screen sharing stopped.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user