Files
jitsi-meet/react/features/subtitles/actions.web.ts
Дамян Минков 1aca8ab985 feat(dialog): Adds name to all dialogs. (#16626)
* feat(dialog): Adds name to all dialogs.

The name is used for debugging purposes to be added to logs.

* squash: Drop empty string.
2025-11-06 09:49:30 -06:00

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));
};
}