mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix issues.
This commit is contained in:
parent
e92ced48c7
commit
911a5fa847
2 changed files with 3 additions and 3 deletions
|
@ -361,11 +361,11 @@ export const appHost = {
|
|||
},
|
||||
deviceName: function () {
|
||||
return window.NativeShell && window.NativeShell.AppHost.deviceName
|
||||
? window.NativeShell.AppHost.deviceName() : getDeviceName();
|
||||
? window.NativeShell.AppHost.deviceName() : getDeviceName();
|
||||
},
|
||||
deviceId: function () {
|
||||
return window.NativeShell && window.NativeShell.AppHost.deviceId
|
||||
? window.NativeShell.AppHost.deviceId() : getDeviceId();
|
||||
? window.NativeShell.AppHost.deviceId() : getDeviceId();
|
||||
},
|
||||
appName: function () {
|
||||
return window.NativeShell ? window.NativeShell.AppHost.appName() : appName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue