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.
pull/8986/head jitsi-meet_5764
Saúl Ibarra Corretgé 4 years ago committed by Дамян Минков
parent 7ca04ccb0f
commit fd4819aeca
  1. 2
      react/features/toolbox/components/web/Toolbox.js

@ -945,7 +945,7 @@ class Toolbox extends Component<Props> {
key = 'fullscreen'
onClick = { this._onToolbarToggleFullScreen }
text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
this._shouldShowButton('security')
(this._shouldShowButton('security') || this._shouldShowButton('info'))
&& <SecurityDialogButton
key = 'security'
showLabel = { true } />,

Loading…
Cancel
Save