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.js 488B

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