mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-05 10:20:51 +00:00
Flip screen sharing icon states
This commit is contained in:
parent
209e9a59c5
commit
ae930bde87
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue