mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sync process
This commit is contained in:
parent
cc428aac1d
commit
504384e83d
109 changed files with 553 additions and 289 deletions
|
@ -1564,7 +1564,7 @@ var Dashboard = {
|
|||
// The native app can handle a little bit more than safari
|
||||
if (AppInfo.isNativeApp) {
|
||||
|
||||
quality -= 10;
|
||||
quality -= 5;
|
||||
|
||||
} else {
|
||||
|
||||
|
@ -1724,6 +1724,8 @@ var AppInfo = {};
|
|||
AppInfo.enableMovieHomeSuggestions = true;
|
||||
AppInfo.enableNavDrawer = true;
|
||||
AppInfo.enableSearchInTopMenu = true;
|
||||
AppInfo.enableHomeFavorites = true;
|
||||
AppInfo.enableNowPlayingBar = true;
|
||||
|
||||
AppInfo.enableAppStorePolicy = isCordova;
|
||||
|
||||
|
@ -1741,6 +1743,8 @@ var AppInfo = {};
|
|||
//AppInfo.enableSectionTransitions = true;
|
||||
AppInfo.enableNavDrawer = false;
|
||||
AppInfo.enableSearchInTopMenu = false;
|
||||
AppInfo.enableHomeFavorites = false;
|
||||
AppInfo.enableNowPlayingBar = false;
|
||||
|
||||
} else {
|
||||
if (isMobile) {
|
||||
|
@ -1915,6 +1919,10 @@ var AppInfo = {};
|
|||
if (AppInfo.isNativeApp) {
|
||||
elem.classList.add('nativeApp');
|
||||
}
|
||||
|
||||
if (!AppInfo.enableHomeFavorites) {
|
||||
elem.classList.add('homeFavoritesDisabled');
|
||||
}
|
||||
}
|
||||
|
||||
function onDocumentReady() {
|
||||
|
@ -1990,6 +1998,11 @@ var AppInfo = {};
|
|||
}
|
||||
}
|
||||
|
||||
if (AppInfo.enableNowPlayingBar) {
|
||||
require(['scripts/nowplayingbar']);
|
||||
Dashboard.importCss('css/nowplayingbar.css');
|
||||
}
|
||||
|
||||
if (navigator.splashscreen) {
|
||||
navigator.splashscreen.hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue