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.web.ts 556B

123456789101112131415161718192021222324252627
  1. import {
  2. SHOW_SOUNDS_NOTIFICATION,
  3. TOGGLE_REACTIONS_VISIBLE
  4. } from './actionTypes';
  5. import { IReactionsAction } from './reducer';
  6. /**
  7. * Toggles the visibility of the reactions menu.
  8. *
  9. * @returns {void}
  10. */
  11. export function toggleReactionsMenuVisibility(): IReactionsAction {
  12. return {
  13. type: TOGGLE_REACTIONS_VISIBLE
  14. };
  15. }
  16. /**
  17. * Displays the disable sounds notification.
  18. *
  19. * @returns {void}
  20. */
  21. export function displayReactionSoundsNotification(): IReactionsAction {
  22. return {
  23. type: SHOW_SOUNDS_NOTIFICATION
  24. };
  25. }