WebUI: fix preferences class name

Fixup for #21780. Account for changed preferences class name in the color scheme logic.

PR #21809.
This commit is contained in:
Hanabishi
2024-11-11 15:53:06 +05:00
committed by GitHub
parent 69f19d4a0b
commit 631e873ff2

View File

@@ -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 = () => {