fix(toolbar) Fix toolbar always visible; refactors

- deprecate `INITIAL_TOOLBAR_TIMEOUT`, `TOOLBAR_ALWAYS_VISIBLE`, `TOOLBAR_TIMEOUT`
This commit is contained in:
hmuresan
2021-09-23 17:39:05 +03:00
committed by Horatiu Muresan
parent e9f3625ffa
commit cd4c940107
12 changed files with 170 additions and 203 deletions

View File

@@ -97,7 +97,11 @@ var interfaceConfig = {
*/
HIDE_INVITE_MORE_HEADER: false,
INITIAL_TOOLBAR_TIMEOUT: 20000,
/**
* DEPRECATED! Moved to config.js as `toolbarConfig.initialTimeout`.
*/
// INITIAL_TOOLBAR_TIMEOUT: 20000,
JITSI_WATERMARK_LINK: 'https://jitsi.org',
LANG_DETECTION: true, // Allow i18n to detect the system language
@@ -183,7 +187,10 @@ var interfaceConfig = {
*/
SUPPORT_URL: 'https://community.jitsi.org/',
TOOLBAR_ALWAYS_VISIBLE: false,
/**
* DEPRECATED! Moved to config.js as `toolbarConfig.alwaysVisible`.
*/
// TOOLBAR_ALWAYS_VISIBLE: false,
/**
* DEPRECATED!
@@ -191,7 +198,10 @@ var interfaceConfig = {
*/
// TOOLBAR_BUTTONS: [],
TOOLBAR_TIMEOUT: 4000,
/**
* DEPRECATED! Moved to config.js as `toolbarConfig.timeout`.
*/
// TOOLBAR_TIMEOUT: 4000,
// Browsers, in addition to those which do not fully support WebRTC, that
// are not supported and should show the unsupported browser page.