mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-18 11:36:13 +08:00
parent
b9213e0c76
commit
bcd9ba7bef
1 changed files with 0 additions and 2 deletions
|
@ -1295,7 +1295,6 @@ export function setRandomTheme(
|
|||
}
|
||||
|
||||
if (val === "custom") {
|
||||
setCustomTheme(true, nosave);
|
||||
if (firebase.auth().currentUser === null) {
|
||||
config.randomTheme = val;
|
||||
return false;
|
||||
|
@ -1307,7 +1306,6 @@ export function setRandomTheme(
|
|||
return false;
|
||||
}
|
||||
}
|
||||
if (val !== "off" && val !== "custom") setCustomTheme(false);
|
||||
|
||||
config.randomTheme = val;
|
||||
saveToLocalStorage("randomTheme", nosave);
|
||||
|
|
Loading…
Add table
Reference in a new issue