mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-18 00:07:47 +00:00
feat(toolbox): move OverflowMenu show logic to redux
This commit is contained in:
committed by
Lyubo Marinov
parent
a2834a2495
commit
9a3effe97a
@@ -2,6 +2,7 @@ import InlineDialog from '@atlaskit/inline-dialog';
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { createToolbarEvent, sendAnalytics } from '../../analytics';
|
||||
import { translate } from '../../base/i18n';
|
||||
|
||||
import ToolbarButton from './ToolbarButton';
|
||||
@@ -100,6 +101,8 @@ class OverflowMenuButton extends Component {
|
||||
* @returns {void}
|
||||
*/
|
||||
_onToggleDialogVisibility() {
|
||||
sendAnalytics(createToolbarEvent('overflow'));
|
||||
|
||||
this.props.onVisibilityChange(!this.props.isOpen);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user