mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
649fd0000d
commit
765af7e4d8
51 changed files with 184 additions and 201 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['appStorage', 'events', 'browser'], function (appStorage, events, browser) {
|
||||
define(['appSettings', 'events', 'browser'], function (appSettings, events, browser) {
|
||||
'use strict';
|
||||
|
||||
var currentDisplayInfo;
|
||||
|
@ -512,7 +512,7 @@
|
|||
if (enabled != null) {
|
||||
|
||||
var val = enabled ? '1' : '0';
|
||||
appStorage.setItem('displaymirror--' + Dashboard.getCurrentUserId(), val);
|
||||
appSettings.set('displaymirror--' + Dashboard.getCurrentUserId(), val);
|
||||
|
||||
if (enabled) {
|
||||
mirrorIfEnabled();
|
||||
|
@ -520,7 +520,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
return (appStorage.getItem('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
|
||||
return (appSettings.get('displaymirror--' + Dashboard.getCurrentUserId()) || '') != '0';
|
||||
};
|
||||
|
||||
self.play = function (options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue