Просмотр исходного кода

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 лет назад
Родитель
Сommit
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 } />,

Загрузка…
Отмена
Сохранить