Procházet zdrojové kódy

Merge pull request #8354 from jitsi/tavram/fix-filmstrip

fix(filmstrip) fix button not considering interface config settings
master
Avram Tudor před 4 roky
rodič
revize
3881da5db9
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 2
- 1
react/features/filmstrip/components/web/Filmstrip.js Zobrazit soubor

@@ -13,6 +13,7 @@ import { translate } from '../../../base/i18n';
13 13
 import { Icon, IconMenuDown, IconMenuUp } from '../../../base/icons';
14 14
 import { connect } from '../../../base/redux';
15 15
 import { dockToolbox } from '../../../toolbox/actions.web';
16
+import { isButtonEnabled } from '../../../toolbox/functions.web';
16 17
 import { getCurrentLayout, LAYOUTS } from '../../../video-layout';
17 18
 import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
18 19
 import { shouldRemoteVideosBeVisible } from '../../functions';
@@ -197,7 +198,7 @@ class Filmstrip extends Component <Props> {
197 198
 
198 199
         let toolbar = null;
199 200
 
200
-        if (!this.props._hideToolbar) {
201
+        if (!this.props._hideToolbar && isButtonEnabled('filmstrip')) {
201 202
             toolbar = this._renderToggleButton();
202 203
         }
203 204
 

Načítá se…
Zrušit
Uložit