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 583B

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