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.

reducer.js 457B

1234567891011121314151617
  1. // @flow
  2. import { ReducerRegistry, set } from '../base/redux';
  3. import { SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID } from './actionTypes';
  4. /**
  5. * Reduces the redux actions of the feature no audio signal
  6. */
  7. ReducerRegistry.register('features/no-audio-signal', (state = {}, action) => {
  8. switch (action.type) {
  9. case SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID:
  10. return set(state, 'noAudioSignalNotificationUid', action.uid);
  11. }
  12. return state;
  13. });