name: localStorage.getItem("myname") || "", //"" for "anonymous"
email: "", //unknown yet
notify: false, //email notifications
name: localStorage.getItem("myname") || "", //"" for "anonymous"
email: "", //unknown yet
notify: false, //email notifications
localStorage.removeItem("myname");
this.state.user.email = json.email;
this.state.user.notify = json.notify;
localStorage.removeItem("myname");
this.state.user.email = json.email;
this.state.user.notify = json.notify;
hints: getItemDefaultTrue("hints"),
highlight: getItemDefaultTrue("highlight"),
gotonext: getItemDefaultTrue("gotonext"),
hints: getItemDefaultTrue("hints"),
highlight: getItemDefaultTrue("highlight"),
gotonext: getItemDefaultTrue("gotonext"),
};
if (isNaN(this.state.settings.randomness))
// Default: random asymmetric
this.state.settings.randomness = 2;
const supportedLangs = ["en", "es", "fr"];
};
if (isNaN(this.state.settings.randomness))
// Default: random asymmetric
this.state.settings.randomness = 2;
const supportedLangs = ["en", "es", "fr"];