mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
fix(captions): fix configuration
This commit is contained in:
@ -86,7 +86,6 @@ const defaultConfig = {
|
|||||||
disableCaptions: false,
|
disableCaptions: false,
|
||||||
autoload: false,
|
autoload: false,
|
||||||
lastCaptionsCode: '',
|
lastCaptionsCode: '',
|
||||||
disabledCaptions: false,
|
|
||||||
},
|
},
|
||||||
'compact-sidebar': {},
|
'compact-sidebar': {},
|
||||||
'crossfade': {
|
'crossfade': {
|
||||||
|
|||||||
@ -14,7 +14,7 @@ export default (): MenuTemplate => [
|
|||||||
{
|
{
|
||||||
label: 'No captions by default',
|
label: 'No captions by default',
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
checked: config.get('disabledCaptions'),
|
checked: config.get('disableCaptions'),
|
||||||
click(item) {
|
click(item) {
|
||||||
config.set('disableCaptions', item.checked);
|
config.set('disableCaptions', item.checked);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user