Flip screen sharing icon states
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user