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.
This commit is contained in:
Saúl Ibarra Corretgé 2021-04-09 16:20:15 +02:00 committed by Дамян Минков
parent 7ca04ccb0f
commit fd4819aeca
1 changed files with 1 additions and 1 deletions

View File

@ -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 } />,