Pārlūkot izejas kodu

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

fix(filmstrip) fix button not considering interface config settings
j8
Avram Tudor 4 gadus atpakaļ
vecāks
revīzija
3881da5db9
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 2
- 1
react/features/filmstrip/components/web/Filmstrip.js Parādīt failu

@@ -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
 

Notiek ielāde…
Atcelt
Saglabāt