Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

actions.js 543B

123456789101112131415161718192021
  1. // @flow
  2. import { SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID } from './actionTypes';
  3. /**
  4. * Sets UID of the the pending notification to use it when hiding
  5. * the notification is necessary, or unset it when undefined (or no param) is
  6. * passed.
  7. *
  8. * @param {?number} uid - The UID of the notification.
  9. * @returns {{
  10. * type: SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID,
  11. * uid: number
  12. * }}
  13. */
  14. export function setNoAudioSignalNotificationUid(uid: ?number) {
  15. return {
  16. type: SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID,
  17. uid
  18. };
  19. }