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