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

Fix suggestions and rebase issues

This commit is contained in:
MrTimscampi 2020-08-09 15:03:41 +02:00
parent 37abd530eb
commit 0643e29404
10 changed files with 33 additions and 34 deletions

View file

@ -113,14 +113,6 @@ function getDeviceName() {
deviceName += ' Android';
}
if (browser.ipad) {
deviceName += ' iPad';
} else if (browser.iphone) {
deviceName += ' iPhone';
} else if (browser.android) {
deviceName += ' Android';
}
return deviceName;
}
@ -326,7 +318,7 @@ function askForExit() {
let deviceId;
let deviceName;
const appName = 'Jellyfin Web';
const appVersion = '10.6.0';
const appVersion = '10.7.0';
const appHost = {
getWindowState: function () {
@ -383,13 +375,6 @@ const appHost = {
getPushTokenInfo: function () {
return {};
},
setThemeColor: function (color) {
const metaThemeColor = document.querySelector('meta[name=theme-color]');
if (metaThemeColor) {
metaThemeColor.setAttribute('content', color);
}
},
setUserScalable: function (scalable) {
if (!browser.tv) {
const att = scalable ? 'width=device-width, initial-scale=1, minimum-scale=1, user-scalable=yes' : 'width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no';