1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update now playing page

This commit is contained in:
Luke Pulverenti 2015-09-25 12:08:13 -04:00
parent 9ab9e8b9c8
commit d61dd06176
11 changed files with 59 additions and 42 deletions

View file

@ -773,7 +773,13 @@
});
var tabs = page.querySelector('paper-tabs');
tabs.alignBottom = true;
if (AppInfo.enableNowPlayingPageBottomTabs) {
tabs.alignBottom = true;
tabs.classList.add('bottom');
} else {
tabs.classList.remove('bottom');
}
LibraryBrowser.configureSwipeTabs(page, tabs, page.querySelectorAll('neon-animated-pages')[0]);

View file

@ -1728,6 +1728,7 @@ var AppInfo = {};
AppInfo.enableNowPlayingBar = true;
AppInfo.enableCustomHomeSections = true;
AppInfo.enableHomeTabs = true;
AppInfo.enableNowPlayingPageBottomTabs = true;
AppInfo.enableAppStorePolicy = isCordova;
@ -1749,6 +1750,7 @@ var AppInfo = {};
AppInfo.enableNowPlayingBar = false;
AppInfo.enableCustomHomeSections = false;
AppInfo.enableHomeTabs = false;
AppInfo.enableNowPlayingPageBottomTabs = false;
} else {
if (isMobile) {