mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-30 11:57:35 +08:00
setting quote length to all if user signed out
This commit is contained in:
parent
3fbfc83fd0
commit
ef49c6dcc8
1 changed files with 4 additions and 0 deletions
|
|
@ -746,6 +746,10 @@ export async function init(): Promise<void> {
|
|||
await Funbox.activate();
|
||||
}
|
||||
|
||||
if (Config.quoteLength.includes(-3) && !Auth.currentUser) {
|
||||
UpdateConfig.setQuoteLength(-1);
|
||||
}
|
||||
|
||||
let language = await Misc.getLanguage(Config.language);
|
||||
if (language && language.name !== Config.language) {
|
||||
UpdateConfig.setLanguage("english");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue