You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.native.js 552B

12345678910111213141516171819202122232425
  1. // @flow
  2. import { openDialog } from '../base/dialog';
  3. import { DisableLobbyModeDialog, EnableLobbyModeDialog } from './components/native';
  4. export * from './actions.web';
  5. /**
  6. * Action to show the dialog to disable lobby mode.
  7. *
  8. * @returns {showNotification}
  9. */
  10. export function showDisableLobbyModeDialog() {
  11. return openDialog(DisableLobbyModeDialog);
  12. }
  13. /**
  14. * Action to show the dialog to enable lobby mode.
  15. *
  16. * @returns {showNotification}
  17. */
  18. export function showEnableLobbyModeDialog() {
  19. return openDialog(EnableLobbyModeDialog);
  20. }