mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Resolve deviceId promise properly during apphost init
This commit is contained in:
parent
29c077d2cb
commit
20573a8086
@ -361,7 +361,9 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet
|
||||
}
|
||||
|
||||
deviceName = getDeviceName();
|
||||
deviceId = getDeviceId();
|
||||
getDeviceId().then(function (id) {
|
||||
deviceId = id;
|
||||
});
|
||||
},
|
||||
deviceName: function () {
|
||||
return window.NativeShell ? window.NativeShell.AppHost.deviceName() : deviceName;
|
||||
|
Loading…
Reference in New Issue
Block a user