mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 06:01:28 +08:00
fix(themes): custom themes not working
This commit is contained in:
parent
8e2dff43be
commit
d8a80d8218
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue