Clean up settings logic
parent
d6d1e5c139
commit
960d7c7563
|
|
@ -20,11 +20,11 @@ var mainmenu = {
|
|||
'' : {'title' : 'GPS widget'},
|
||||
'< Back' : back,
|
||||
"Cross icon" : {
|
||||
value : !!settings.crossIcon ,
|
||||
value : settings.crossIcon ,
|
||||
onchange : v => { writeSettings("crossIcon", v); }
|
||||
},
|
||||
"Hide icon when GPS off" : {
|
||||
value : !!settings.hideWhenGpsOff ,
|
||||
value : settings.hideWhenGpsOff ,
|
||||
onchange : v => { writeSettings("hideWhenGpsOff", v); }
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue