mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
Allow navigating directly to playlist song view
This commit is contained in:
@@ -195,6 +195,26 @@ export const ControlSettings = () => {
|
||||
isHidden: !isElectron(),
|
||||
title: 'Save play queue',
|
||||
},
|
||||
{
|
||||
control: (
|
||||
<Switch
|
||||
aria-label="Go to playlist songs page by default"
|
||||
defaultChecked={settings.defaultFullPlaylist}
|
||||
onChange={(e) =>
|
||||
setSettings({
|
||||
general: {
|
||||
...settings,
|
||||
defaultFullPlaylist: e.currentTarget.checked,
|
||||
},
|
||||
})
|
||||
}
|
||||
/>
|
||||
),
|
||||
description:
|
||||
'When navigating to a playlist, go to the playlist song list page instead of the default page',
|
||||
isHidden: false,
|
||||
title: 'Go to playlist songs page by default',
|
||||
},
|
||||
];
|
||||
|
||||
return <SettingsSection options={controlOptions} />;
|
||||
|
||||
Reference in New Issue
Block a user