Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
18 lines
478 B
TypeScript
18 lines
478 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));
|
|
};
|
|
}
|