Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Fix(React/conference): Sets an initial toolbar view timeout
yanas930e65da66df
diff --git a/react/features/conference/components/Conference.native.js b/react/features/conference/components/Conference.native.jsindex c2cd097bba..c8ab1bf2da 100644--- a/react/features/conference/components/Conference.native.js+++ b/react/features/conference/components/Conference.native.js@@ -102,6 +102,8 @@ class Conference extends Component {render() {const toolbarVisible = this.state.toolbarVisible;+ this._setToolbarTimeout(toolbarVisible);+return (<ContaineronClick = { this._onClick }@@ -145,11 +147,7 @@ class Conference extends Component {this.setState({ toolbarVisible });- this._clearToolbarTimeout();- if (toolbarVisible) {- this._toolbarTimeout- = setTimeout(this._onClick, TOOLBAR_TIMEOUT_MS);- }+ this._setToolbarTimeout(toolbarVisible);}/**@@ -201,6 +199,21 @@ class Conference extends Component {return null;}++ /**+ * Triggers the default toolbar timeout.+ *+ * @param {boolean} toolbarVisible - indicates if the toolbar is currently+ * visible+ * @private+ */+ _setToolbarTimeout(toolbarVisible) {+ this._clearToolbarTimeout();+ if (toolbarVisible) {+ this._toolbarTimeout+ = setTimeout(this._onClick, TOOLBAR_TIMEOUT_MS);+ }+ }}/**