mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
Partially prepare for eslint-plugin-flowtype 2.37.0
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// @flow
|
||||
|
||||
import SideContainerToggler
|
||||
from '../../../modules/UI/side_pannels/SideContainerToggler';
|
||||
|
||||
@@ -101,7 +103,7 @@ export function getToolbarClassNames(props: Object) {
|
||||
* @returns {boolean} - True to indicate that the given toolbar button
|
||||
* is enabled, false - otherwise.
|
||||
*/
|
||||
export function isButtonEnabled(name) {
|
||||
export function isButtonEnabled(name: string) {
|
||||
return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
|
||||
|| interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user