mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-26 00:37:37 +08:00
not reapplying theme if theme wasnt random
This commit is contained in:
parent
44a5f6c7e9
commit
f73b513e88
1 changed files with 1 additions and 0 deletions
|
|
@ -222,6 +222,7 @@ export function randomizeTheme(): void {
|
|||
}
|
||||
|
||||
export function clearRandom(): void {
|
||||
if (randomTheme === null) return;
|
||||
randomTheme = null;
|
||||
if (Config.customTheme) {
|
||||
apply("custom", true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue