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 icon;
|
||||||
let tooltip;
|
let tooltip;
|
||||||
if room.read(cx).is_screen_sharing() {
|
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"
|
tooltip = "Stop Sharing Screen"
|
||||||
} else {
|
} else {
|
||||||
icon = "icons/enable_screen_sharing_12.svg";
|
icon = "icons/disable_screen_sharing_12.svg";
|
||||||
tooltip = "Share Screen";
|
tooltip = "Share Screen";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue