forked from 0x2620/pandora
support new themes, plus patch for legacy themes
This commit is contained in:
parent
caa52211a1
commit
3b44e38e14
2 changed files with 18 additions and 13 deletions
|
|
@ -119,10 +119,9 @@ pandora.ui.mainMenu = function() {
|
|||
{ id: 'entervideofullscreen', title: 'Enter Video Fullscreen', disabled: !ui.item || ui.itemView != 'player' },
|
||||
{},
|
||||
{ id: 'theme', title: 'Theme', items: [
|
||||
{ group: 'settheme', min: 1, max: 1, items: [
|
||||
{ id: 'classic', title: 'Light', checked: ui.theme == 'classic'},
|
||||
{ id: 'modern', title: 'Dark', checked: ui.theme == 'modern' }
|
||||
]}
|
||||
{ group: 'settheme', min: 1, max: 1, items: pandora.site.themes.map(function(theme) {
|
||||
return {id: theme, title: Ox.Theme.getThemeData(theme).themeName, checked: ui.theme == theme}
|
||||
}) }
|
||||
] }
|
||||
]},
|
||||
getSortMenu(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue