mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-23 00:37:29 +08:00
clearing preview mode
This commit is contained in:
parent
4fd39fa8a4
commit
5a3b3ac5f1
|
@ -127,9 +127,9 @@ export function clearPreview() {
|
|||
if (isPreviewingTheme) {
|
||||
isPreviewingTheme = false;
|
||||
if (Config.customTheme) {
|
||||
apply("custom");
|
||||
apply("custom", true);
|
||||
} else {
|
||||
apply(Config.theme);
|
||||
apply(Config.theme, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue