Add plugin divider and allow plugins to be listed under Live TV

This commit is contained in:
Chris 2021-01-11 21:20:09 -06:00 committed by GitHub
parent 2299a29799
commit f00cc25f03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -464,6 +464,7 @@ import Headroom from 'headroom.js';
pageIds: ['liveTvSettingsPage'],
icon: 'dvr'
});
addPluginPagesToMainMenu(links, pluginItems, 'livetv');
links.push({
divider: true,
name: globalize.translate('TabAdvanced')
@ -504,6 +505,10 @@ import Headroom from 'headroom.js';
pageIds: ['scheduledTasksPage', 'scheduledTaskPage'],
icon: 'schedule'
});
links.push({
divider: true,
name: globalize.translate('TabPlugins')
});
addPluginPagesToMainMenu(links, pluginItems);
return links;
}