diff --git a/src/webui/www/private/scripts/color-scheme.js b/src/webui/www/private/scripts/color-scheme.js index 69607f316..d02fce243 100644 --- a/src/webui/www/private/scripts/color-scheme.js +++ b/src/webui/www/private/scripts/color-scheme.js @@ -36,7 +36,7 @@ window.qBittorrent.ColorScheme ??= (() => { }; }; - const LocalPreferences = new window.qBittorrent.LocalPreferences.LocalPreferencesClass(); + const LocalPreferences = new window.qBittorrent.LocalPreferences.LocalPreferences(); const colorSchemeQuery = window.matchMedia("(prefers-color-scheme: dark)"); const update = () => {