mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
* feat(dialog): Adds name to all dialogs. The name is used for debugging purposes to be added to logs. * squash: Drop empty string.
18 lines
504 B
TypeScript
18 lines
504 B
TypeScript
import { IStore } from '../app/types';
|
|
import { toggleDialog } from '../base/dialog/actions';
|
|
|
|
import LanguageSelectorDialog from './components/web/LanguageSelectorDialog';
|
|
|
|
export * from './actions.any';
|
|
|
|
/**
|
|
* Signals that the local user has toggled the LanguageSelector button.
|
|
*
|
|
* @returns {Function}
|
|
*/
|
|
export function toggleLanguageSelectorDialog() {
|
|
return function(dispatch: IStore['dispatch']) {
|
|
dispatch(toggleDialog('LanguageSelectorDialog', LanguageSelectorDialog));
|
|
};
|
|
}
|