Closed downthecrop closed 7 years ago
Ill do it when i wake up tonight
👍 Seems like a good idea. I think some people asked me for this before.
One thing you might consider is create a single structure of the users and colors like
{
"downthecrop": {
"color": "red"
},
"purplecow": {
"color": "white"
}
}
And just use JSON.stringify/parse
to store the entire thing in localStorage whenever you need to. This would let you get rid of the parallel arrays and comma splicing.
Yo I'm going to be hanging out with family over the next couple weeks but I'm posting this here if anyone wants to add this in. Sweetie said he never got around to a decent localStorage JSON format for each of the personal settings. But it should be pretty easy.