defaultAudio in config

This commit is contained in:
Stefan Otto committed 2020-05-06 12:00:54 +02:00
1 parent aca3499afb
commit 4f07b973c8
4 files changed
+15 -19

No files matched your search

+3 -2
View File
@@ -16,7 +16,8 @@ const initialState =
lastN : 4,
permanentTopBar : true,
hiddenControls : false,
notificationSounds : true
notificationSounds : true,
...window.config.defaultAudio
};
const settings = (state = initialState, action) =>
@@ -89,7 +90,7 @@ const settings = (state = initialState, action) =>
case 'SET_NOISE_SUPPRESSION':
{
const { noiseSuppression } = action.payload;
const { noiseSuppression } = action.payload;
return { ...state, noiseSuppression };
}