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.
| 12345678910111213 |
- // @flow
-
- /**
- * Indicates if the audio mute button is disabled or not.
- *
- * @param {Object} state - The state from the Redux store.
- * @returns {boolean}
- */
- export function isAudioMuteButtonDisabled(state: Object) {
- const { audio } = state['features/base/media'];
-
- return !(audio?.available && !audio?.blocked);
- }
|