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:
parent
7ca04ccb0f
commit
fd4819aeca
|
@ -945,7 +945,7 @@ class Toolbox extends Component<Props> {
|
||||||
key = 'fullscreen'
|
key = 'fullscreen'
|
||||||
onClick = { this._onToolbarToggleFullScreen }
|
onClick = { this._onToolbarToggleFullScreen }
|
||||||
text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
|
text = { _fullScreen ? t('toolbar.exitFullScreen') : t('toolbar.enterFullScreen') } />,
|
||||||
this._shouldShowButton('security')
|
(this._shouldShowButton('security') || this._shouldShowButton('info'))
|
||||||
&& <SecurityDialogButton
|
&& <SecurityDialogButton
|
||||||
key = 'security'
|
key = 'security'
|
||||||
showLabel = { true } />,
|
showLabel = { true } />,
|
||||||
|
|
Loading…
Reference in New Issue