add configuration for audio status fade

This commit is contained in:
jeffvli
2025-12-02 16:58:55 -08:00
parent bc5d0cf994
commit cab16b0893
5 changed files with 58 additions and 12 deletions
@@ -135,6 +135,28 @@ export const AudioSettings = () => {
postProcess: 'sentenceCase',
}),
},
{
control: (
<Switch
defaultChecked={settings.audioFadeOnStatusChange}
onChange={(e) => {
setSettings({
playback: {
...settings,
audioFadeOnStatusChange: e.currentTarget.checked,
},
});
}}
/>
),
description: t('setting.audioFadeOnStatusChange', {
context: 'description',
postProcess: 'sentenceCase',
}),
title: t('setting.audioFadeOnStatusChange', {
postProcess: 'sentenceCase',
}),
},
];
return (