Skip to content

Commit

Permalink
Merge pull request #13 from janeapp/TRON-57-Disable-screen-sharing-in…
Browse files Browse the repository at this point in the history
…-Jane-Desktop-video-chat

[TRON-57] Disable screen-sharing in Jane Desktop video-chat
  • Loading branch information
ivanjiang5628 authored Jun 17, 2020
2 parents a8de970 + 9a8e1e7 commit abe72f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/features/toolbox/components/web/Toolbox.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable */
// @flow

import JitsiMeetJS from '../../../base/lib-jitsi-meet';
import React, { Component } from 'react';

import {
Expand Down Expand Up @@ -1247,7 +1247,7 @@ class Toolbox extends Component<Props, State> {
overflowMenuContent.splice(
1, 0, ...this._renderMovedButtons(movedButtons));

const showDesktopSharingButton = this.state.windowWidth > 475;
const showDesktopSharingButton = this.state.windowWidth > 475 && !JitsiMeetJS.util.browser.isElectron();

return (
<div className = 'toolbox-content'>
Expand Down

0 comments on commit abe72f1

Please sign in to comment.