| 12345678910111213141516171819 |
- import { IStore } from '../app/types';
- 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: IStore['dispatch']) {
- dispatch(toggleDialog(LanguageSelectorDialogWeb));
- };
- }
|