fix(themes): custom themes not working

This commit is contained in:
Miodec 2023-10-02 18:10:29 +01:00
parent 8e2dff43be
commit d8a80d8218

View file

@ -177,7 +177,7 @@ const debouncedPreview = debounce(
);
function set(themeIdentifier: string, isAutoSwitch = false): void {
apply(themeIdentifier, undefined, true);
apply(themeIdentifier, undefined, isAutoSwitch);
if (!isAutoSwitch && Config.autoSwitchTheme) {
setAutoSwitchTheme(false);