Fix apiclient imports
This commit is contained in:
committed by
vitorsemeano
parent
7d9208e951
commit
a71b0314d4
@@ -1,13 +1,13 @@
|
||||
import * as userSettings from './settings/userSettings';
|
||||
import * as webSettings from './settings/webSettings';
|
||||
import skinManager from './themeManager';
|
||||
import { ConnectionManager, events } from 'jellyfin-apiclient';
|
||||
import { ConnectionManager, Events } from 'jellyfin-apiclient';
|
||||
|
||||
// set the default theme when loading
|
||||
skinManager.setTheme(userSettings.theme());
|
||||
|
||||
// set the saved theme once a user authenticates
|
||||
events.on(ConnectionManager, 'localusersignedin', function (e, user) {
|
||||
Events.on(ConnectionManager, 'localusersignedin', function (e, user) {
|
||||
skinManager.setTheme(userSettings.theme());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user