Skip to content

Commit

Permalink
fix(themes): custom themes not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Oct 2, 2023
1 parent 8e2dff4 commit d8a80d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/controllers/theme-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d8a80d8

Please sign in to comment.