Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Flip screen sharing icon states
Joseph Lyonsae930bde878c
diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rsindex 60272b66bb9..a505df316e0 100644--- a/crates/collab_ui/src/collab_titlebar_item.rs+++ b/crates/collab_ui/src/collab_titlebar_item.rs@@ -395,10 +395,10 @@ impl CollabTitlebarItem {let icon;let tooltip;if room.read(cx).is_screen_sharing() {- icon = "icons/disable_screen_sharing_12.svg";+ icon = "icons/enable_screen_sharing_12.svg";tooltip = "Stop Sharing Screen"} else {- icon = "icons/enable_screen_sharing_12.svg";+ icon = "icons/disable_screen_sharing_12.svg";tooltip = "Share Screen";}