jiti-meet/react/features/subtitles/actions.web.js

19 lines
485 B
JavaScript

import { toggleDialog } from '../base/dialog/actions';
import LanguageSelectorDialogWeb from './components/LanguageSelectorDialog.web';
export * from './actions.any';
/**
* Signals that the local user has toggled the LanguageSelector button.
*
* @returns {{
* type: UPDATE_TRANSLATION_LANGUAGE
* }}
*/
export function toggleLanguageSelectorDialog() {
return function(dispatch: (Object) => Object) {
dispatch(toggleDialog(LanguageSelectorDialogWeb));
};
}