mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 09:47:08 +03:00
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:
parent
69f19d4a0b
commit
631e873ff2
1 changed files with 1 additions and 1 deletions
|
@ -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 colorSchemeQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
||||||
|
|
||||||
const update = () => {
|
const update = () => {
|
||||||
|
|
Loading…
Reference in a new issue