Restore audio functionality. Begone, ribbit!

merge-requests/1/head
Alex Gleason 2020-04-10 19:54:33 -05:00
rodzic a47781fb95
commit af717ce3b8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
4 zmienionych plików z 2 dodań i 12 usunięć

Wyświetl plik

@ -104,7 +104,7 @@ export function updateNotificationsQueue(notification, intlMessages, intlLocale,
if (playSound && !filtered) {
dispatch({
type: NOTIFICATIONS_UPDATE_NOOP,
meta: { sound: 'ribbit' },
meta: { sound: 'boop' },
});
}

Wyświetl plik

@ -21,7 +21,7 @@ const play = audio => {
}
}
// audio.play();
audio.play();
};
export default function soundsMiddleware() {
@ -36,16 +36,6 @@ export default function soundsMiddleware() {
type: 'audio/mpeg',
},
]),
ribbit: createAudio([
{
src: '/sounds/ribbit.ogg',
type: 'audio/ogg',
},
{
src: '/sounds/ribbit.mp3',
type: 'audio/mpeg',
},
]),
};
return () => next => action => {

Plik binarny nie jest wyświetlany.

Plik binarny nie jest wyświetlany.