Selaa lähdekoodia

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.
master
Saúl Ibarra Corretgé 4 vuotta sitten
vanhempi
commit
fd4819aeca
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      react/features/toolbox/components/web/Toolbox.js

+ 1
- 1
react/features/toolbox/components/web/Toolbox.js Näytä tiedosto

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

Loading…
Peruuta
Tallenna