2021-07-13 06:50:08 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import {
|
2021-08-23 09:57:56 +00:00
|
|
|
SHOW_SOUNDS_NOTIFICATION,
|
2021-07-13 06:50:08 +00:00
|
|
|
TOGGLE_REACTIONS_VISIBLE
|
|
|
|
} from './actionTypes';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Toggles the visibility of the reactions menu.
|
|
|
|
*
|
2021-08-23 09:57:56 +00:00
|
|
|
* @returns {Object}
|
2021-07-13 06:50:08 +00:00
|
|
|
*/
|
|
|
|
export function toggleReactionsMenuVisibility() {
|
|
|
|
return {
|
|
|
|
type: TOGGLE_REACTIONS_VISIBLE
|
|
|
|
};
|
|
|
|
}
|
2021-08-23 09:57:56 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Displays the disable sounds notification.
|
|
|
|
*
|
|
|
|
* @returns {Object}
|
|
|
|
*/
|
|
|
|
export function displayReactionSoundsNotification() {
|
|
|
|
return {
|
|
|
|
type: SHOW_SOUNDS_NOTIFICATION
|
|
|
|
};
|
|
|
|
}
|