add setting to follow current song on playqueue

This commit is contained in:
jeffvli
2025-12-03 20:11:38 -08:00
parent 06e502c63d
commit ee5d2b12c1
4 changed files with 35 additions and 5 deletions
@@ -185,6 +185,28 @@ export const ControlSettings = () => {
isHidden: false,
title: t('setting.playButtonBehavior', { postProcess: 'sentenceCase' }),
},
{
control: (
<Switch
aria-label="Follow current song"
defaultChecked={settings.followCurrentSong}
onChange={(e) =>
setSettings({
general: {
...settings,
followCurrentSong: e.currentTarget.checked,
},
})
}
/>
),
description: t('setting.followCurrentSong', {
context: 'description',
postProcess: 'sentenceCase',
}),
isHidden: false,
title: t('setting.followCurrentSong', { postProcess: 'sentenceCase' }),
},
{
control: (
<Slider