mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-02-17 01:09:32 +00: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
@ -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 = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user