2020-01-20 18:00:12 +00:00
|
|
|
import { SET_NOISY_AUDIO_INPUT_NOTIFICATION_UID } from './actionTypes';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets UID of the the pending notification to use it when hiding
|
|
|
|
* the notification is necessary, or unset it when undefined (or no param) is
|
|
|
|
* passed.
|
|
|
|
*
|
|
|
|
* @param {?number} uid - The UID of the notification.
|
|
|
|
* @returns {{
|
|
|
|
* type: SET_NOISY_AUDIO_INPUT_NOTIFICATION_UID,
|
|
|
|
* uid: number
|
|
|
|
* }}
|
|
|
|
*/
|
2022-10-13 08:26:28 +00:00
|
|
|
export function setNoisyAudioInputNotificationUid(uid?: string) {
|
2020-01-20 18:00:12 +00:00
|
|
|
return {
|
|
|
|
type: SET_NOISY_AUDIO_INPUT_NOTIFICATION_UID,
|
|
|
|
uid
|
|
|
|
};
|
|
|
|
}
|