UX: make mangrove attribution smaller, remember if personal had been unlocked before to prevent flickering of the button

This commit is contained in:
Pieter Vander Vennet 2023-10-17 01:57:21 +02:00
parent af1e0d7e08
commit 590495fbbc
5 changed files with 22 additions and 10 deletions

View file

@ -72,7 +72,7 @@ export class OsmPreferences {
let i = 0
while (str !== "") {
if (str === undefined || str === "undefined") {
throw "Long pref became undefined?"
throw "Got 'undefined' or a literal string containing 'undefined' for a long preference with name "+key
}
if (i > 100) {
throw "This long preference is getting very long... "