浏览代码

fix(toolbar) restore security button backwards compat

In https://github.com/jitsi/jitsi-meet/pull/8673 we inadvertently removed the
backwards compatibility code which would show the security button when the
"info" button is configured in interface_config. The security button replaced
the info button.
j8
Saúl Ibarra Corretgé 4 年前
父节点
当前提交
fd4819aeca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      react/features/toolbox/components/web/Toolbox.js

+ 1
- 1
react/features/toolbox/components/web/Toolbox.js 查看文件

945
                     key = 'fullscreen'
945
                     key = 'fullscreen'
946
                     onClick = { this._onToolbarToggleFullScreen }
946
                     onClick = { this._onToolbarToggleFullScreen }
947
                     text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
947
                     text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
948
-            this._shouldShowButton('security')
948
+            (this._shouldShowButton('security') || this._shouldShowButton('info'))
949
             && <SecurityDialogButton
949
             && <SecurityDialogButton
950
                 key = 'security'
950
                 key = 'security'
951
                 showLabel = { true } />,
951
                 showLabel = { true } />,

正在加载...
取消
保存