Clean up settings logic

pull/2084/head
Stanislav Khromov 2022-08-11 00:12:11 +02:00
parent d6d1e5c139
commit 960d7c7563
1 changed files with 3 additions and 3 deletions

View File

@ -20,13 +20,13 @@ 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); }
},
};
E.showMenu(mainmenu);
});
});